Exemplo n.º 1
0
 private void buttonWasPressed()
 {
     Debug.Log("Pressed");
     if (!isTriggered)
     {
         isTriggered     = true;
         mySprite.sprite = ButtonPressed;
         myTrap.ArmTrap();
     }
 }