Esempio n. 1
0
 void CmdSendInput(float moveH, float moveV, float camH, float camV, bool interact, bool drop, int pNum)
 {
     if (pNum == 1)
     {
         humanScript.Move(moveH, moveV, camH, interact, drop);
         humanCamScript.RotateCamera(camH, camV);
     }
     else if (pNum == 2)
     {
         ghostScript.Move(moveH, moveV, camH, interact);
         //ghostCamScript.RotateCamera (camH, camV);
     }
 }