public override void OnInspectorGUI() { ScreenHandlerUI5 screen = target as ScreenHandlerUI5; if (GUILayout.Button("Initview")) { screen.InitView(); } }
void RemoveMenu(ScreenHandlerUI5 _handler) { System.Type type = _handler.GetType(); string key = type.ToString(); if (_dicScreens.ContainsKey(key)) { _dicScreens.Remove(key); } GameObject.Destroy(_handler.gameObject); }
void DisableMenu(ScreenHandlerUI5 _handler) { _handler.gameObject.SetActive(false); }