This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* RectangularMover.cs | |
* Purpose: Moves the object to the position where mouse-click points | |
* on a *rectangular* path. First on X, then on Z axis. | |
* Additional movement can not be issued until the current one finishes. | |
* Uses coroutines for niceties. | |
* Author: z_murc @ UnityAnswers | |
*/ | |
using UnityEngine; |