18 lines
460 B
C#
18 lines
460 B
C#
using UnityEngine;
|
|
|
|
public class ProjectileWaveControl : MonoBehaviour
|
|
{
|
|
public GameObject[] gos_wave;
|
|
public float nextWaveDelayTime = 1.5f;
|
|
|
|
private void OnEnable()
|
|
{
|
|
//Debug.Log("웨이브 시작 1");
|
|
DSUtil.InActivateGameObjects(gos_wave, 0);
|
|
CoroutineMgr.Ins.Set_Coroutine(() =>
|
|
{
|
|
//Debug.Log("웨이브 시작 2");
|
|
gos_wave[1].SetActive(true);
|
|
}, nextWaveDelayTime);
|
|
}
|
|
} |