Example #1
0
File: AITank.cs Project: WenHaiLu/h
 void Start()
 {
     base.Start();
     enemyLayer = LayerManage.GetEnemyLayer(team);
     nam        = GetComponent <UnityEngine.AI.NavMeshAgent> ();
     tw         = GetComponent <TankWeapon> ();
     tw.Init(team);
     StartCoroutine(Timer());
 }
Example #2
0
 public void Init(Team team)
 {
     enemyLayer = LayerManage.GetEnemyLayer(team);
 }