Example #1
0
 // Use this for initialization
 void Start()
 {
     AirInventory = AirRuneInventory.instance;
     AirInventory.onItemChangedCallback1 += UpdateAirUI;
     Debug.Log("air start works");
     slots = itemsParent.GetComponentsInChildren <AirRuneInventorySlot>();
 }
Example #2
0
 void Awake()
 {
     if (instance != null)
     {
         Debug.LogWarning("More than one instance of Inventory found");
         return;
     }
     instance = this;
 }