LineProviderBehaviour
Last updated
Was this helpful?
Last updated
Was this helpful?
Class in
Inherits from MonoBehaviour
A MonoBehaviour
that produces s, for use in Dialogue Views.
s use a to get s, which contain the localized information that classes use to present content to the player.
Subclasses of this abstract class may return subclasses of . For example, returns an , which includes AudioClip
; views that make use of audio can then access this additional data.
Signals to the line provider that lines with the provided line IDs may be presented shortly.
Prepares and returns a from the specified Yarn.Line
.
Called by Unity when the has first appeared in the scene.
Gets a value indicating whether this line provider is ready to provide objects. The default implementation returns true
.
: A MonoBehaviour
that can present lines and options to the user, when it receives them from a .