Exemplo n.º 1
0
        private void Start()
        {
            if (CurrendClosableInventoryPannel != null)
            {
                UnityEngine.Debug.LogError("An none closable pannel has already opened");
            }

            if (closable)
            {
                CurrendClosableInventoryPannel = this;
            }

            Init();
        }
Exemplo n.º 2
0
 private void OnDisable()
 {
     CurrendClosableInventoryPannel = null;
 }