Example #1
0
        void RenameSite()
        {
            bool en = GUI.enabled;

            GUI.enabled = en && (site != null);
            if (GUILayout.Button("Rename Site", ELStyles.normal,
                                 GUILayout.ExpandWidth(false)))
            {
                if (site != null)
                {
                    ELRenameWindow.ShowGUI(site);
                }
            }
            GUI.enabled = en;
        }
Example #2
0
 public void ShowRenameUI()
 {
     ELRenameWindow.ShowGUI(this);
 }
Example #3
0
 void OnDestroy()
 {
     Debug.Log("[ELRenameWindow] OnDestroy");
     windowInstance = null;
     padInstance    = null;
 }
Example #4
0
 void Awake()
 {
     windowInstance = this;
     enabled        = false;
 }