// Use this for initialization void Start() { image = this.gameObject.GetComponent <SpriteRenderer> (); singleTap.Tapped += (object sender, System.EventArgs e) => { if (!isDead) { if (!state) { state = true; foreach (CharacterButtonGestureManager characterButton in otherButtons) { characterButton.state = false; } lootManager.destroyAllDice(); lootManager.showCharacterDice(index); } } }; }