title: Switch turns between the Player and AI in Unity
body: <p>I've recently started using Unity for a resource management stealth game. The stealth part is turn based, similar to Hitman Go. I have a simple character controller and a simple patrolling AI over a specific path. However, these movements work in real time and I want to change that to turn based. The AI should wait for the player to finish his/her move and then move itself. The same goes for the player.</p>
  
  <p>Both the player and AI should be able to move to their adjacent waypoints only when the movement of the other part is complete.</p>
  
  <p>How should I go about that?</p>
  
  <p>Thank you</p>
  
  <p>The language that I'm writing in is UnityScript.</p>