void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
     else
     {
         Destroy(this);
     }
 }
Пример #2
0
 public void Init(ChestPanel chestPanel)
 {
     _chestPanel = chestPanel;
 }