private void Awake() { if (instance == null) { instance = this; } }
void OnEnable() { gameManager = Sc_GMng.instance; if (Sc_GMng.instance == null) { //Debug.Log("test null"); } //CheckState 코루틴 함수 실행 StartCoroutine(CheckState()); //Action 코루틴 함수 실행 StartCoroutine(Action()); }