Zeplin.Sound.Sound C# (CSharp) Méthode

Sound() public méthode

Constructs a Sound object from the specified resource string
public Sound ( string resourceName ) : System
resourceName string The name of a SoundEffect resource
Résultat System
        public Sound(string resourceName)
        {
            soundEffect = ZeplinGame.ContentManager.Load<SoundEffect>(resourceName);
        }