LineProviderBehaviour
Class in Yarn.Unity
Inherits from MonoBehaviour
Summary
A MonoBehaviour
that produces LocalizedLine s.
Remarks
DialogueRunner s use a LineProviderBehaviour to get LocalizedLine s, which contain the localized information that DialogueViewBase classes use to present content to the player.
Subclasses of this abstract class may return subclasses of LocalizedLine . For example, AudioLineProvider returns an AudioLocalizedLine , which includes AudioClip
; views that make use of audio can then access this additional data.
Fields
Methods
Signals to the line provider that lines with the provided line IDs may be presented shortly.
Properties
Last updated