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