コード例 #1
0
        private void Start()
        {
            if (CurrendClosableInventoryPannel != null)
            {
                UnityEngine.Debug.LogError("An none closable pannel has already opened");
            }

            if (closable)
            {
                CurrendClosableInventoryPannel = this;
            }

            Init();
        }
コード例 #2
0
 private void OnDisable()
 {
     CurrendClosableInventoryPannel = null;
 }