Пример #1
0
 public void SetTarget(Vector3 target, CharacterReactions player)
 {
     for (int i = 0; i < bots.GetLength(0); i++)
     {
         for (int j = 0; j < bots.GetLength(1); j++)
         {
             for (int k = 0; k < bots.GetLength(2); k++)
             {
                 bots[i, j, k].target = target;
                 bots[i, j, k].player = player;
             }
         }
     }
 }
Пример #2
0
 public void Initiolize(SampleController sampleController)
 {
     sniperMultiplicator = 1;
     cameraHandler       = sampleController.cameraHandler;
     targetLook          = cameraHandler.targetLook;
     leftPivot           = cameraHandler.leftPivot;
     anim               = sampleController.anim;
     characterStatus    = sampleController.characterStatus;
     characterMovement  = sampleController.characterMovement;
     characterInventory = sampleController.characterInventory;
     characterFight     = sampleController.characterFight;
     characterReactions = sampleController.characterReactions;
     aud = sampleController.aud;
 }
Пример #3
0
 public void Initioze(CharacterReactions reactions)
 {
     characterReactions = reactions;
 }