//Game State 전환. public void ResetPlay() { if (!continueOnce) //first 이면, reset. continue 이면 게임정보 reset x. { GAManager.Instance.GASendView("GameScene"); level = 1; timer = 0f; feverCustomerCount = 0; successReceipt = 0; failedReceipt = 0; score = 0; combo = 0; maxCombo = 0; onCombo = true; comboTimer = comboInterval; feverCount = 0; feverTimer = 0; feverInterval = 4; onFeverMode = false; feverStarted = false; maxChange = 0; isNewRecord = false; continueOnce = false; scoreLb.Play(0, 0); timerLb.text = "00"; comboCtrl.SetupNotVisible(); customersQ.InitializeQueue(); if (GS == GameState.End) { trayWithDecks.InitializeTray(); } GS = GameState.Reset; Ready(); } else //연장. { trayWithDecks.InitializeTray(); timer = 45f; timerLb.text = "45"; receipt.GoReady(); } }