Class FModSoundBuilder
Allows for easy creation and registration of sounds from an Asset Bundle.
public class FModSoundBuilder : IFModSoundBuilder
- Inheritance
-
FModSoundBuilder
- Implements
- Inherited Members
- Extension Methods
Constructors
FModSoundBuilder(CustomSoundSourceBase)
Creates a new sound builder that loads sounds from a given source.
public FModSoundBuilder(CustomSoundSourceBase loader)
Parameters
loader
CustomSoundSourceBase- Determines how the sound builder locates and loads sounds.
- See Also
Methods
CreateNewEvent(string, string)
Begins constructing a new FMOD sound event with the given parameters.
public IFModSoundBuilder CreateNewEvent(string id, string bus)
Parameters
id
string- The unique ID or event path of the sound.
bus
string- The bus that the sound is played on. See AudioUtils.BusPaths.
Returns
- IFModSoundBuilder
- An instance of the builder for further setup.
ToString()
Returns a string representing this object for debugging purposes.
public override string ToString()
Returns
- string
- A string with some information to help identify the context of the object.