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