示例#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;
        }
示例#2
0
 public void ShowRenameUI()
 {
     ELRenameWindow.ShowGUI(this);
 }