Exemple #1
0
 void Start()
 {
     base.Start();
     enemyLayer = LayerManage.GetEnemyLayer(team);
     nam        = GetComponent <UnityEngine.AI.NavMeshAgent> ();
     tw         = GetComponent <TankWeapon> ();
     tw.Init(team);
     StartCoroutine(Timer());
 }
Exemple #2
0
 public void Init(Team team)
 {
     enemyLayer = LayerManage.GetEnemyLayer(team);
 }