MoveTo() public method

public MoveTo ( float x, float y, float z ) : void
x float
y float
z float
return void
 private void OnAiPursue(EntityInfo entity, ScriptRuntime.Vector3 target)
 {
     if (null != entity)
     {
         EntityViewModel npcViewModel = EntityViewModelManager.Instance.GetEntityViewById(entity.GetId());
         npcViewModel.MoveTo(target.X, target.Y, target.Z);
     }
 }
 static public int MoveTo(IntPtr l)
 {
     try {
         GameFramework.EntityViewModel self = (GameFramework.EntityViewModel)checkSelf(l);
         System.Single a1;
         checkType(l, 2, out a1);
         System.Single a2;
         checkType(l, 3, out a2);
         System.Single a3;
         checkType(l, 4, out a3);
         self.MoveTo(a1, a2, a3);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
        private static void AiPursue(EntityInfo npc, ScriptRuntime.Vector3 target)
        {
            EntityViewModel npcView = EntityViewModelManager.Instance.GetEntityViewById(npc.GetId());

            npcView.MoveTo(target.X, target.Y, target.Z);
        }