示例#1
0
 public virtual void Init()
 {
     levelIndex = 0;
     GameManager.GetAllPoints(transform.position, tower.size, out points);
     Debug.Log(points.Count);
     SetPickableAndTower();
     state    = TowerState.Idle;
     curTower = tower.towerMsg;
 }
示例#2
0
 public virtual void OnBuildOver()
 {
     state    = TowerState.Idle;
     curTower = CurTower.nextLevelTower[levelIndex];
     anim.SetInteger("curLevel", curTower.curLevel);
 }