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