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; }
void go(StartSongEvent se) { ((MovieTexture)GetComponent <Renderer>().material.mainTexture).Stop(); ((MovieTexture)GetComponent <Renderer>().material.mainTexture).Play(); }
//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); }
public static void StartASong(SongName whichSongName) { StartSongEvent?.Invoke(whichSongName); }