void OnSongenPointValueIsZero() { SongenPointValue = 0.0f; SongenBar.Value = 0; StateRoot.BroadcastMessage("OnEndGame"); CanvasRoot.BroadcastMessage("OnEndGame"); }
private void InitInGame() { CurrentState = State.InGame; Debug.Log("Go to InGame."); BGM.Play(); AudioSource.PlayOneShot(AudioGameStart); StateRoot.BroadcastMessage("OnStartGame"); CanvasRoot.BroadcastMessage("OnStartGame"); SetMessageText("始め!"); SetMessageScale(1.0f); MessageText.StartAlphaUpdate(); }