private void Start() { if (CurrendClosableInventoryPannel != null) { UnityEngine.Debug.LogError("An none closable pannel has already opened"); } if (closable) { CurrendClosableInventoryPannel = this; } Init(); }
private void OnDisable() { CurrendClosableInventoryPannel = null; }