Example #1
0
 private void DrawTriggerSpace(SerializedProperty event_)
 {
     UnityGUI.FlexibleSpace();
     UnityGUI.IndentLevel -= 4;
     Field(false, event_, "trigger");
     UnityGUI.IndentLevel += 4;
 }
Example #2
0
        private void DrawAddEventButton()
        {
            UnityGUI.BeginHorizontal();
            UnityGUI.FlexibleSpace();
            if (UnityGUI.Button("+", AddButtonOptions))
            {
                events.arraySize++;
            }

            UnityGUI.EndHorizontal();
        }