void Update() { if (CrossPlatformInputManager.GetButtonDown("pointer1")) { creatorButtons = FindObjectsOfType <Card>(); foreach (Card CB in creatorButtons) { if (powerCounter.PowerQuery(CB.GetPowerAmount)) { CB.CheckMousePositionOnButton(); } } } //Cancel Object to spawn if (CrossPlatformInputManager.GetButtonDown("Cancel")) { cardHand.Clear(); } }