Loading...
Field in AudioLineProvider
public System.Action<AsyncOperationHandle<AudioClip>> AssetLoadCompleteAction;
Method in AudioLineProvider
public override void PrepareForLines(IEnumerable<string> lineIDs)
IEnumerable<string> lineIDs
IEnumerable<string>
public string audioLanguage = System.Globalization.CultureInfo.CurrentCulture.Name;
Property in AudioLineProvider
public override bool LinesAvailable { get };
Class in Yarn.Unity
Inherits from LineProviderBehaviour
LineProviderBehaviour
public class AudioLineProvider : LineProviderBehaviour
public override LocalizedLine GetLocalizedLine(Line line)
AssetLoadCompleteAction
audioLanguage
completedLoadOperations
pendingLoadOperations
GetLocalizedLine(Line)
PrepareForLines(IEnumerable)
LinesAvailable
Line line
Line
public Dictionary<AsyncOperationHandle<AudioClip>, string> pendingLoadOperations = new Dictionary<AsyncOperationHandle<AudioClip>, string>();
public Dictionary<string, AsyncOperationHandle<AudioClip>> completedLoadOperations = new Dictionary<string, AsyncOperationHandle<AudioClip>>();