Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Method in
Name | Description |
---|
Yarn.Unity.DialogueRunner dialogueRunner
Yarn.Library library
|
|
Name | Description |
---|---|
Name | Description |
---|
Name | Description |
---|
Name | Description |
---|
Name | Description |
---|
Name | Description |
---|
Name | Description |
---|
Method in
Name | Description |
---|
Method in
Name | Description |
---|
string
commandName
System.Delegate
handler
|
|
|
|
Yarn parameter. |
Inject state for any commands in this class using this static method. |
A component that listens for user input, and uses it to notify a dialogue view that the user wishes to advance to the next step in the dialogue. |
Stores a reference to a dialogue node in a Yarn Project. |
The DialogueRunner component acts as the interface between your game and Yarn Spinner. |
A simple implementation of VariableStorageBehaviour. |
A Dialogue View that presents lines of dialogue, using Unity UI elements. |
Represents a line, ready to be presented to the user in the localisation they have specified. |
Represents a collection of marker names and colours. |
Detects if the render pipeline is different from the one the samples were created with, and warn you that things might look odd. |
An |
An attribute that marks a method on an object as a command. |
Marks the method as a function to be registered with the running instance's library. |
Specifies that a field represents a reference to a named Yarn node that exists in a Yarn project. |
Holds information about a language. |
Provides access to all s supported by Yarn Spinner.
A subclass of that displays character names.
A UnityEngine.MonoBehaviour
that can present lines and options to the user, when it receives them from a .
Contains coroutine methods that apply visual effects. This class is used by to handle animating the presentation of lines.
A UnityEngine.MonoBehaviour
that produces s, for use in Dialogue Views.
A UnityEngine.MonoBehaviour
that a uses to store and retrieve variables.
A subclass of that plays voice-over UnityEngine.AudioClip
s for lines of dialogue.
Name | Description |
---|---|
Name | Description |
---|---|
Method in
Name | Description |
---|
Method in
Name | Description |
---|
string
commandName
System.Reflection.MethodInfo
methodInfo
string
commandName
System.Action<T1>
handler
|
|
|
|
Name | Description |
---|---|
Name | Description |
---|---|
Method in
Name | Description |
---|
Method in
Name | Description |
---|
string
commandName
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
handler
string
commandName
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, System.Collections.IEnumerator>
handler
|
|
|
|
Method in
Name | Description |
---|
|
|
Name | Description |
---|---|
string
commandName
System.Func<T1, T2, UnityEngine.Coroutine>
handler
Name | Description |
---|---|
string
commandName
System.Action<T1, T2, T3>
handler
Name | Description |
---|---|
string
commandName
System.Func<T1, T2, T3, System.Collections.IEnumerator>
handler
Name | Description |
---|---|
string
commandName
System.Func<T1, T2, T3, UnityEngine.Coroutine>
handler
Name | Description |
---|---|
string
commandName
System.Action<T1, T2, T3, T4>
handler
Name | Description |
---|---|
string
commandName
System.Func<T1, T2, T3, T4, System.Collections.IEnumerator>
handler
Name | Description |
---|---|
Method in
Name | Description |
---|
string
commandName
System.Func<T1, T2, T3, T4, UnityEngine.Coroutine>
handler
|
|
Name | Description |
---|---|
string
commandName
System.Func<T1, T2, T3, T4, T5, System.Collections.IEnumerator>
handler
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
string
commandName
System.Func<T1, T2, T3, T4, T5, UnityEngine.Coroutine>
handler
string
commandName
System.Action<T1, T2, T3, T4, T5, T6>
handler
string
commandName
System.Func<T1, T2, T3, T4, T5, T6, System.Collections.IEnumerator>
handler
string
commandName
System.Func<T1, T2, T3, T4, T5, T6, UnityEngine.Coroutine>
handler
Name | Description |
---|---|
Name | Description |
---|---|
Method in
Name | Description |
---|
string
commandName
System.Action<T1, T2, T3, T4, T5, T6, T7>
handler
string
commandName
System.Func<T1, T2, T3, T4, T5, T6, T7, System.Collections.IEnumerator>
handler
|
|
Method in
Name | Description |
---|
Method in
Name | Description |
---|
|
|
|
|
Name | Description |
---|---|
string
commandName
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, UnityEngine.Coroutine>
handler
Name | Description |
---|---|
string
commandName
System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9>
handler
Name | Description |
---|---|
string
commandName
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, System.Collections.IEnumerator>
handler
Name | Description |
---|---|
string
commandName
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, UnityEngine.Coroutine>
handler
Name | Description |
---|---|
string
name
System.Delegate
implementation
Name | Description |
---|---|
string
name
System.Func<TResult>
implementation
Name | Description |
---|---|
string
name
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>
implementation
Name | Description |
---|---|
string
name
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>
implementation
Name | Description |
---|---|
string
name
System.Func<T1, TResult>
implementation
Name | Description |
---|---|
string
name
System.Func<T1, T2, TResult>
implementation
Name | Description |
---|---|
string
name
System.Func<T1, T2, T3, TResult>
implementation
Name | Description |
---|---|
string
name
System.Func<T1, T2, T3, T4, TResult>
implementation
Name | Description |
---|---|
string
name
System.Func<T1, T2, T3, T4, T5, TResult>
implementation
Name | Description |
---|---|
string
name
System.Func<T1, T2, T3, T4, T5, T6, TResult>
implementation
Name | Description |
---|---|
string
name
System.Func<T1, T2, T3, T4, T5, T6, T7, TResult>
implementation
Name | Description |
---|---|
string
name
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult>
implementation
Name | Description |
---|---|
System.Action<Yarn.Unity.IActionRegistration>
registerActions
Name | Description |
---|---|
string
commandName
Name | Description |
---|---|
Name | Description |
---|---|
Property in
Yarn.Unity.YarnProject yarnProject
string
name
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
System.Collections.Generic.IEnumerable<string>
lineIDs
Yarn.Line line
Name | Description |
---|---|
Yarn.Unity.LocalizedLine dialogueLine
System.Action
onDialogueLineFinished
Name | Description |
---|---|
Struct in Yarn.Unity
Inherits from System.ValueType
Holds information about a language.
Name | Description |
---|---|
Name | Description |
---|---|
The display name of a language. Will be "German (Switzerland)" for "de-CH". Use this value to present the language in an English UI.
The unique language ID used to identify a language as RFC 4646. Will be "de-CH" for "German (Switzerland)". Use this for storing settings or identifying a language.
The languages name as called in the language itself. Will be "Deutsch (Schweiz) for "de-CH". Use this to present the language in-game so people can find their native language.
Field in
Field in Culture
The languages name as called in the language itself. Will be "Deutsch (Schweiz) for "de-CH". Use this to present the language in-game so people can find their native language.
Name | Description |
---|---|
System.Globalization.CultureInfo
cultureInfo
Method in Cultures
Returns a boolean value indicating whether name
is a valid identifier for retrieving a Culture from GetCulture(string) .
true
if name is a valid Culture name; false
otherwise.
Name | Description |
---|---|
string
name
Class in Yarn.Unity
Inherits from System.Object
Provides access to all Culture s supported by Yarn Spinner.
Name | Description |
---|---|
Name | Description |
---|---|
Returns the Culture represented by the language code in name
.
Returns a boolean value indicating whether name
is a valid identifier for retrieving a Culture from GetCulture(string) .
Class in Yarn.Unity
Inherits from UnityEngine.MonoBehaviour
A component that listens for user input, and uses it to notify a dialogue view that the user wishes to advance to the next step in the dialogue.
This class may be used with the Unity Input System, or the legacy Input Manager. The specific type of input it's looking for is configured via the continueActionType field.
When the configured input occurs, this component calls the UserRequestedViewAdvancement() method on its dialogueView.
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
The type of input that this component is listening for in order to signal that its dialogue view should advance.
The UnityEngine.InputSystem.InputAction
that this component is listening for.
The keyboard key that this component is listening for.
An UnityEngine.InputSystem.InputActionReference
that refers to the action that this component is listening for.
The type of input that this component is listening for.
The dialogue view that will be notified when the user performs the advance input (as configured by continueActionType and related fields.)
Configures whether Action should be enabled on start.
Gets the UnityEngine.InputSystem.InputAction
configured by this DialogueAdvanceInput .
Field in
This value is only used when is .
Field in DialogueAdvanceInput
The type of input that this component is listening for.
ContinueActionType: The type of input that this component is listening for in order to signal that its dialogue view should advance.
Field in DialogueAdvanceInput
An UnityEngine.InputSystem.InputActionReference
that refers to the action that this component is listening for.
This value is only used when continueActionType is InputSystemActionFromAsset.
Use this continue action type when you want this component to make use of an input action you've configured elsewhere in your project.
Property in DialogueAdvanceInput
Gets the UnityEngine.InputSystem.InputAction
configured by this DialogueAdvanceInput .
This methods returns the following potential values:
If continueActionType is InputSystemAction, this method returns continueAction.
If continueActionType is InputSystemActionFromAsset, this method returns continueActionReference's action.
If continueActionType is KeyCode or None, this method returns null
.
Field in DialogueAdvanceInput
The dialogue view that will be notified when the user performs the advance input (as configured by continueActionType and related fields.)
When the input is performed, this dialogue view will have its UserRequestedViewAdvancement() method called.
Field in DialogueAdvanceInput
Configures whether Action should be enabled on start.
If this field is false
, the input action specified by Action will not be enabled by default, and will need to be enabled by your game's code.
Field in
This value is only used when is .
Enum in DialogueAdvanceInput
Inherits from System.Enum
The type of input that this component is listening for in order to signal that its dialogue view should advance.
Name | Description |
---|---|
The component is listening for the action configured in continueAction to be performed.
The component is listening for the action referred to by continueActionReference to be performed.
The component is listening for a key on the keyboard to be pressed.
The component is listening for no input. This component will not signal to dialogueView that it should advance.
Enumeration Member in ContinueActionType
The component is listening for the action configured in continueAction to be performed.
This input will only be used if the Input System is installed and enabled.
Field in DialogueCharacterNameView
Invoked when a line is received that doesn't contain a character name.
Games can use this event to hide the name UI.
DialogueCharacterNameView.onNameUpdate: Invoked when a line is received that contains a character name. The name is given as the parameter.
Enumeration Member in ContinueActionType
The component is listening for no input. This component will not signal to dialogueView that it should advance.
Enumeration Member in
Field in DialogueCharacterNameView
Invoked when a line is received that contains a character name. The name is given as the parameter.
DialogueCharacterNameView.onNameNotPresent: Invoked when a line is received that doesn't contain a character name.
Enumeration Member in ContinueActionType
The component is listening for the action referred to by continueActionReference to be performed.
This input will only be used if the Input System is installed and enabled.
Class in Yarn.Unity
Inherits from DialogueViewBase
A subclass of DialogueViewBase that displays character names.
This class uses the character
attribute on lines that it receives to determine its content. When the view's RunLine(LocalizedLine,Action) method is called with a line whose Text contains a character
attribute, the onNameUpdate event is fired. If the line does not contain such an attribute, the onNameNotPresent event is fired instead.
This view does not present any options or handle commands. It's intended to be used alongside other subclasses of DialogueViewBase.
DialogueUI
Name | Description |
---|---|
Name | Description |
---|---|
Invoked when the dialogue is started.
Invoked when a line is received that doesn't contain a character name.
Invoked when a line is received that contains a character name. The name is given as the parameter.
Name | Description |
---|---|
Name | Description |
---|---|
Field in Culture
The unique language ID used to identify a language as RFC 4646. Will be "de-CH" for "German (Switzerland)". Use this for storing settings or identifying a language.
Name | Description |
---|---|
string
name
The name of the Culture to retrieve.