Zeplin.Sound.Sound C# (CSharp) 메소드

Sound() 공개 메소드

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