Пример #1
0
    public override void OnInspectorGUI()
    {
        if (GUILayout.Button("Refresh"))
        {
            ui_Button menu = ((ui_Button)target);
        }

        base.OnInspectorGUI();
    }
Пример #2
0
 private void SetNextButton(ui_Button button, GamepadState gamepadState)
 {
     if (button != null)
     {
         button.gamepadState = gamepadState;
         button.IsFocused    = true;
         this.IsFocused      = false;
     }
 }