Esempio n. 1
0
 private void OnDisable()
 {
     if (manager != null)
     {
         manager.Enable(true);
         manager = null;
     }
 }
Esempio n. 2
0
        public void Open(CraftingManager manager)
        {
            this.manager = manager;
            if (manager != null)
            {
                manager.Enable(false);
            }

            this.gameObject.SetActive(true);

            InitialiseSlots();
        }