rts game unity

Clic para mover objeto

var smooth:int; private var targetPosition:Vector3; function Update () { if(Input.GetKeyDown(KeyCode.Mouse1)) { smooth=1; var playerPlane = new Plane(Vector3.up, transform.position); var ray […]