Example #1
0
 /**
  * Triggers the "right" arrow.
  */
 public void DoRight()
 {
     if (rightArrow.isPresent && isOn && directionToAnimate == AC_Direction.None)
     {
         StartCoroutine(FadeOut(AC_Direction.Right));
         Disable();
         rightArrow.Run(source);
     }
 }
Example #2
0
 /**
  * Triggers the "up" arrow.
  */
 public void DoUp()
 {
     if (upArrow.isPresent && isOn && directionToAnimate == AC_Direction.None)
     {
         StartCoroutine(FadeOut(AC_Direction.Up));
         Disable();
         upArrow.Run(source);
     }
 }
Example #3
0
 /**
  * Triggers the "down" arrow.
  */
 public void DoDown()
 {
     if (downArrow.isPresent && isOn && directionToAnimate == AC_Direction.None)
     {
         StartCoroutine(FadeOut(AC_Direction.Down));
         Disable();
         downArrow.Run(source);
     }
 }
Example #4
0
 public void DoLeft()
 {
     if (leftArrow.isPresent && isOn && directionToAnimate == AC_Direction.None)
     {
         StartCoroutine(FadeOut(AC_Direction.Left));
         Disable();
         leftArrow.Run();
     }
 }