コード例 #1
0
    public override void OnInspectorGUI()
    {
        ScreenHandlerUI5 screen = target as ScreenHandlerUI5;

        if (GUILayout.Button("Initview"))
        {
            screen.InitView();
        }
    }
コード例 #2
0
    void RemoveMenu(ScreenHandlerUI5 _handler)
    {
        System.Type type = _handler.GetType();
        string      key  = type.ToString();

        if (_dicScreens.ContainsKey(key))
        {
            _dicScreens.Remove(key);
        }
        GameObject.Destroy(_handler.gameObject);
    }
コード例 #3
0
 void DisableMenu(ScreenHandlerUI5 _handler)
 {
     _handler.gameObject.SetActive(false);
 }