Struct CustomSoundSourceBase.CachedSound
Contains the locator and truncated name of a sound file.
protected readonly struct CustomSoundSourceBase.CachedSound
- Inherited Members
Constructors
CachedSound(string, string)
The primary constructor.
public CachedSound(string name, string locator)
Parameters
name
string- A truncated name of the sound to be used in predicates.
locator
string- The full, unprocessed name of the sound. Could be the file path or a unique ID.
Properties
Locator
The full name of the sound file, including the file extension and path if applicable.
public string Locator { get; }
Property Value
Name
The shortened name of the sound file, used for predicates and comparisons.
public string Name { get; }