コード例 #1
0
 void OnSongenPointValueIsZero()
 {
     SongenPointValue = 0.0f;
     SongenBar.Value  = 0;
     StateRoot.BroadcastMessage("OnEndGame");
     CanvasRoot.BroadcastMessage("OnEndGame");
 }
コード例 #2
0
        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();
        }