public void LookAtHere(Vector3 lookat, float timeto) { lookatTransitStatus = new TransitStatus(ref lookat, ref lookAtPosition, timeto); }
public void GotoHere(Vector3 gotoHere, float timeto) { var position = transform.position; gotoTransitStatus = new TransitStatus(ref gotoHere, ref position, timeto); }