void Start() { if (man == null) { man = GameObject.Find("shopScreenManager").GetComponent <ShopScreenManager>(); } }
private void Awake() { Instance = this; allItemsSlots.Add(itemSlotOne); allItemsSlots.Add(itemSlotTwo); allItemsSlots.Add(itemSlotThree); allItemsSlots.Add(itemSlotFour); allItemsSlots.Add(itemSlotFive); allItemsSlots.Add(itemSlotSix); allItemsSlots.Add(itemSlotSeven); allItemsSlots.Add(itemSlotEight); }
private void Awake() { Instance = this; }