private void HandleClick() { if (m_GazeOver && m_CoolDown <= 0.0f) { DirectionVector = transform.position; switch (TriggerDirections) { case Directions.North: { TriggerDirections = Directions.East; DirectionVector.x = transform.position.x + 1; break; } case Directions.East: { TriggerDirections = Directions.South; DirectionVector.z = transform.position.z - 1; break; } case Directions.South: { TriggerDirections = Directions.West; DirectionVector.x = transform.position.x - 1; break; } case Directions.West: { TriggerDirections = Directions.North; DirectionVector.z = transform.position.z + 1; break; } } TriggerActivationScript.DirectionInputTrigger((short)TriggerDirections); m_CoolDown = 1.0f; } }