// ------------------------------------------------------------- private void Awake() { lootModal = this.transform.parent.parent.parent.GetComponent <LootModal>(); }
// ------------------------------------------------------------- private void Awake() { lootModal = GameObject.FindGameObjectWithTag("LootModal").GetComponent <LootModal>(); currentItemNumber = 0; }