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; } } } }
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; }
public void Initioze(CharacterReactions reactions) { characterReactions = reactions; }