SerializedObjectUtils.SetTargetFieldToSerializedPropertyValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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