Example #1
0
        void DrawProfileField()
        {
            SerializedProperty profile = serializedObject.FindProperty("currentProfile");

            UsePropertySetterDrawer.Draw_Layout(profile);
            RagdollProfileEditorUtility.ValidateProfileField_Layout(profile, bindingDefinition?.objectReferenceValue as RagdollDefinition, true);
        }
Example #2
0
        public override void OnInspectorGUI()
        {
            serializedObject.Update();

            UsePropertySetterDrawer.Draw_Layout(profileProperty);
            RagdollProfileEditorUtility.ValidateProfileField_Layout(profileProperty, bindingsDefinition.objectReferenceValue as RagdollDefinition, false);

            serializedObject.ApplyModifiedProperties();
        }
Example #3
0
 void DrawProfileField(SerializedProperty property)
 {
     UsePropertySetterDrawer.Draw_Layout(property);
     RagdollProfileEditorUtility.ValidateProfileField_Layout(property, bindingsDefinition.objectReferenceValue as RagdollDefinition, true);
 }