Beispiel #1
0
        IEnumerator DeleteIGBPIPanelAfterWait(IGBPI_UI_Panel _info, float _seconds)
        {
            if (_info.gameObject != null)
            {
                if (UIPanelSelection == _info)
                {
                    UIPanelSelection = null;
                    DisableIGBPIEditButtons();
                }
                UI_Panel_Members.Remove(_info);
                Destroy(_info.gameObject);
            }
            yield return(new WaitForSecondsRealtime(_seconds));

            uiMaster.CallEventReorderIGBPIPanels();
        }
Beispiel #2
0
 void RegisterDropdownMenu(IGBPI_UI_Panel _info)
 {
     UI_Panel_Members.Add(_info);
 }