示例#1
0
 public void StartASong(SongName whichSongName)
 {
     StartSongEvent?.Invoke(whichSongName);
     PlaybackSpeedChangeEvent(currentPlaybackSpeed);
     DavisDnBSongStart.Post(gameObject, (uint)AkCallbackType.AK_MusicSyncBar, EveryMeasure);
     Debug.Log("Started Wizard Song!");
     songPlaying = true;
     chargeLevel = 0f;
 }
示例#2
0
 void go(StartSongEvent se)
 {
     ((MovieTexture)GetComponent <Renderer>().material.mainTexture).Stop();
     ((MovieTexture)GetComponent <Renderer>().material.mainTexture).Play();
 }
示例#3
0
 //this one is just to help using canvas for debugging
 //so we don't have to trigger the shape for the music to play
 public void DebugStartPaperclipSwarm()
 {
     StartSongEvent?.Invoke(SongName.PaperclipSwarm);
 }
示例#4
0
 public static void StartASong(SongName whichSongName)
 {
     StartSongEvent?.Invoke(whichSongName);
 }