void DrawProfileField() { SerializedProperty profile = serializedObject.FindProperty("currentProfile"); UsePropertySetterDrawer.Draw_Layout(profile); RagdollProfileEditorUtility.ValidateProfileField_Layout(profile, bindingDefinition?.objectReferenceValue as RagdollDefinition, true); }
public override void OnInspectorGUI() { serializedObject.Update(); UsePropertySetterDrawer.Draw_Layout(profileProperty); RagdollProfileEditorUtility.ValidateProfileField_Layout(profileProperty, bindingsDefinition.objectReferenceValue as RagdollDefinition, false); serializedObject.ApplyModifiedProperties(); }
void DrawProfileField(SerializedProperty property) { UsePropertySetterDrawer.Draw_Layout(property); RagdollProfileEditorUtility.ValidateProfileField_Layout(property, bindingsDefinition.objectReferenceValue as RagdollDefinition, true); }