void Update() { if (Input.GetButtonDown("Fire1")) { _actionController.UseEquippedSpell(); } if (Input.GetButtonDown("Change Spell")) { if (GameObject.Find("Shop Runner").GetComponent <ShopActionController>().gusterbought) { _actionController.EquipNextSpell(); } } }