Beispiel #1
0
    public static void Draw(SerializedProperty fieldProperty, GUIContent label, Transform self = null)
    {
        if (self == null)
        {
            self = GetSelfTrans(fieldProperty.serializedObject);
        }

        if (self == null)
        {
            return;
        }

        InternalEditor.Draw(fieldProperty, label, self);
    }
Beispiel #2
0
 internal bool Focus()
 {
     return(InternalEditor.Focus());
 }
Beispiel #3
0
 // Should be called from OnDisable
 public static void StopEditing()
 {
     InternalEditor.StopEditing();
 }