public WordBoxManager() { if (wbm == null) { wbm = this; } prefab = Resources.Load <GameObject>("WordBox"); wordBox = new WordBox(); // 정답 체크용 객체 next = new WordBox(); }
void Start() { // WordBox 생성 wbm = new WordBoxManager(); wbm.CreateBtns(SaveLevel.level, gameObject); // 타이머 생성 timeBar = new TimeBar(); timeBar.Make(); SaveTimeState.timeOut = false; // 시간 초과 여부 판단 if (wbm.Status() == false) { NewStart(); } }