Example #1
0
 public void StopContinousSFXAtPlayer(int playerNumber)
 {
     StopContinousSFXAtPlayer(GameControllerRef.GetPlayerNumber(playerNumber));
 }
Example #2
0
 public bool IsSFXPlayingAtPlayer(int playerNumber)
 {
     return(IsSFXPlayingAtPlayer(GameControllerRef.GetPlayerNumber(playerNumber)));
 }
Example #3
0
 /// <summary>
 /// Used to loop sound effects continously at a specific player (one can be looped at a time)
 /// Can be used independently from PlaySFXContinously (meaning, a player can play a different sound effect continously even while one is being played generally)
 /// </summary>
 /// <param name="sfxToPlay"></param>
 public void PlaySFXContinuouslyAtPlayer(SoundEffect sfxToPlay, int playerNum)
 {
     PlaySFXContinuouslyAtPlayer(sfxToPlay, GameControllerRef.GetPlayerNumber(playerNum));
 }