Beispiel #1
0
 public void boatMove()
 {
     if (flag == 1)
     {
         Cmove.SetDestination(toPos);
         flag = -1;
     }
     else
     {
         Cmove.SetDestination(fromPos);
         flag = 1;
     }
 }
Beispiel #2
0
 public void moveToPosition(Vector3 _dest)
 {
     Cmove.SetDestination(_dest);
 }