public static SoundPlayerSingletone GetPlayerIstanse() { lock (padlock) { if (PlayerSinglton == null) { PlayerSinglton = new SoundPlayerSingletone(); } return(PlayerSinglton); } }
public void GetVoice() { SoundPlayerSingletone.GetPlayerIstanse().PlayByRelPath(VoiceRelPath); }