float timer = 0;
float timer2 = 0;
//产生敌人的速率
public float rate;
//敌人的预制体
public GameObject enemeyPrefab;
//每一波的时间
public float timesofEachWave = 30;
//每一波的已经产生的数量
public int count;
// Use this for initialization
void Start () {
}
// Update is
Unity敌人刷新
最新推荐文章于 2024-06-01 15:18:50 发布