void Start() { GameplayManager gameplayManager = FindObjectOfType <GameplayManager>(); teamManager = gameplayManager.teamManager; flyingTime = 0f; }
void Start() { GameplayManager gameplayManager = FindObjectOfType <GameplayManager>(); teamManager = gameplayManager.teamManager; initializeTargetArray(); base.equipmentPiece = weapon; }