// private LayerMask enemyMask; void Start() { base.Start(); // enemyMask = LayerManager.GetEnemyLayer(team); tw = GetComponent <TankWeapons>(); tw.Init(team); }
void Start() { base.Start(); enemyLayer = LayerManager.GetEnemyLayer(team); nam = GetComponent <NavMeshAgent>(); tw = GetComponent <TankWeapons>(); tw.Init(team); StartCoroutine(Timer()); }