SoundEffectInstance.Play Method (Microsoft.Xna.Framework.Audio)
Plays or resumes a SoundEffectInstance.
Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
- C#
- VB
- F#
public void Play()
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Throws an exception if more sounds are playing than the platform allows.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web