Editar

Partilhar via


SerializedObjectUtils.SetTargetFieldToSerializedPropertyValue Method

Definition

Sets the target field to the value from property based on property type.

public:
 static void SetTargetFieldToSerializedPropertyValue(System::Reflection::FieldInfo ^ field, System::Object ^ % target, UnityEditor::SerializedProperty ^ property);
public static void SetTargetFieldToSerializedPropertyValue (System.Reflection.FieldInfo field, ref object target, UnityEditor.SerializedProperty property);
static member SetTargetFieldToSerializedPropertyValue : System.Reflection.FieldInfo * obj * UnityEditor.SerializedProperty -> unit
Public Shared Sub SetTargetFieldToSerializedPropertyValue (field As FieldInfo, ByRef target As Object, property As SerializedProperty)

Parameters

field
FieldInfo
target
Object
property
UnityEditor.SerializedProperty

Applies to