Simple Enemy Pacing Script [Unity3D]

Unity3D Version: 4.3.3f1 This C# code is for a simple enemy pacing script. The GameObject that has this script attached will go back and fourth in any Axis that isĀ desiredĀ (default is to pace in the X-Axis). The GameObject uses a Ridged Body which makes it is quick to add other mechanics to it, such as…