Class in Yarn.Unity
Inherits from System.Object
Contains extension methods for IActionRegistration objects.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Adds a command handler. Dialogue will pause execution after the command is called.
Add a new function that returns a value, so that it can be called from Yarn scripts.
Add a new function that returns a value, so that it can be called from Yarn scripts.
Add a new function that returns a value, so that it can be called from Yarn scripts.
Add a new function that returns a value, so that it can be called from Yarn scripts.
Add a new function that returns a value, so that it can be called from Yarn scripts.
Add a new function that returns a value, so that it can be called from Yarn scripts.
Add a new function that returns a value, so that it can be called from Yarn scripts.
Add a new function that returns a value, so that it can be called from Yarn scripts.
Add a new function that returns a value, so that it can be called from Yarn scripts.
Add a new function that returns a value, so that it can be called from Yarn scripts.
Add a new function that returns a value, so that it can be called from Yarn scripts.
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Action
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<Coroutine>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<Yarn.Unity.YarnTask>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Action<T1>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, IEnumerator>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, System.Threading.Tasks.Task>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, Coroutine>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, Yarn.Unity.YarnTask>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, IEnumerator>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, System.Threading.Tasks.Task>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Coroutine>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Yarn.Unity.YarnTask>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Action<T1, T2>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, IEnumerator>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, System.Threading.Tasks.Task>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, Coroutine>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, Yarn.Unity.YarnTask>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Action<T1, T2, T3>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, IEnumerator>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, System.Threading.Tasks.Task>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, Coroutine>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, Yarn.Unity.YarnTask>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Action<T1, T2, T3, T4>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, IEnumerator>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, System.Threading.Tasks.Task>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, Coroutine>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, Yarn.Unity.YarnTask>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Action<T1, T2, T3, T4, T5>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, IEnumerator>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, System.Threading.Tasks.Task>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, Coroutine>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, Yarn.Unity.YarnTask>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Action<T1, T2, T3, T4, T5, T6>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, T6, IEnumerator>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, T6, System.Threading.Tasks.Task>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, T6, Coroutine>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, T6, Yarn.Unity.YarnTask>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Action<T1, T2, T3, T4, T5, T6, T7>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, T6, T7, IEnumerator>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, T6, T7, System.Threading.Tasks.Task>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, T6, T7, Coroutine>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, T6, T7, Yarn.Unity.YarnTask>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Action<T1, T2, T3, T4, T5, T6, T7, T8>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, T6, T7, T8, IEnumerator>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, T6, T7, T8, System.Threading.Tasks.Task>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, T6, T7, T8, Coroutine>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, T6, T7, T8, Yarn.Unity.YarnTask>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Action<T1, T2, T3, T4, T5, T6, T7, T8, T9>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, IEnumerator>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, System.Threading.Tasks.Task>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, Coroutine>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Adds a command handler. Dialogue will pause execution after the command is called.
When this command handler has been added, it can be called from your Yarn scripts like so:
If handler
is a method that returns a UnityEngine.Coroutine
, when the command is run, the DialogueRunner will wait for the returned coroutine to stop before delivering any more content.
If handler
is a method that returns an System.Collections.IEnumerator
, when the command is run, the DialogueRunner will start a coroutine using that method and wait for that coroutine to stop before delivering any more content.
string
commandName
The name of the command.
Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, Yarn.Unity.YarnTask>
handler
The CommandHandler that will be invoked when the command is called.
Yarn.Unity.IActionRegistration registration
Method in ActionRegistrationExtension
Add a new function that returns a value, so that it can be called from Yarn scripts.
When this function has been registered, it can be called from your Yarn scripts like so:
The call
command can also be used to invoke the function:
string
name
The name of the function to add.
Func<TResult>
implementation
The System.Delegate
that should be invoked when this function is called.
Yarn.Unity.IActionRegistration registration
TResult
The result of the function.
Library: A collection of functions that can be called from Yarn programs.
Method in ActionRegistrationExtension
Add a new function that returns a value, so that it can be called from Yarn scripts.
When this function has been registered, it can be called from your Yarn scripts like so:
The call
command can also be used to invoke the function:
string
name
The name of the function to add.
Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>
implementation
The System.Delegate
that should be invoked when this function is called.
Yarn.Unity.IActionRegistration registration
TResult
The result of the function.
Library: A collection of functions that can be called from Yarn programs.
Method in ActionRegistrationExtension
Add a new function that returns a value, so that it can be called from Yarn scripts.
When this function has been registered, it can be called from your Yarn scripts like so:
The call
command can also be used to invoke the function:
string
name
The name of the function to add.
Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>
implementation
The System.Delegate
that should be invoked when this function is called.
Yarn.Unity.IActionRegistration registration
TResult
The result of the function.
Library: A collection of functions that can be called from Yarn programs.
Method in ActionRegistrationExtension
Add a new function that returns a value, so that it can be called from Yarn scripts.
When this function has been registered, it can be called from your Yarn scripts like so:
The call
command can also be used to invoke the function:
string
name
The name of the function to add.
Func<T1, TResult>
implementation
The System.Delegate
that should be invoked when this function is called.
Yarn.Unity.IActionRegistration registration
TResult
The result of the function.
Library: A collection of functions that can be called from Yarn programs.
Method in ActionRegistrationExtension
Add a new function that returns a value, so that it can be called from Yarn scripts.
When this function has been registered, it can be called from your Yarn scripts like so:
The call
command can also be used to invoke the function:
string
name
The name of the function to add.
Func<T1, T2, TResult>
implementation
The System.Delegate
that should be invoked when this function is called.
Yarn.Unity.IActionRegistration registration
TResult
The result of the function.
Library: A collection of functions that can be called from Yarn programs.
Method in ActionRegistrationExtension
Add a new function that returns a value, so that it can be called from Yarn scripts.
When this function has been registered, it can be called from your Yarn scripts like so:
The call
command can also be used to invoke the function:
string
name
The name of the function to add.
Func<T1, T2, T3, TResult>
implementation
The System.Delegate
that should be invoked when this function is called.
Yarn.Unity.IActionRegistration registration
TResult
The result of the function.
Library: A collection of functions that can be called from Yarn programs.
Method in ActionRegistrationExtension
Add a new function that returns a value, so that it can be called from Yarn scripts.
When this function has been registered, it can be called from your Yarn scripts like so:
The call
command can also be used to invoke the function:
string
name
The name of the function to add.
Func<T1, T2, T3, T4, TResult>
implementation
The System.Delegate
that should be invoked when this function is called.
Yarn.Unity.IActionRegistration registration
TResult
The result of the function.
Library: A collection of functions that can be called from Yarn programs.
Method in ActionRegistrationExtension
Add a new function that returns a value, so that it can be called from Yarn scripts.
When this function has been registered, it can be called from your Yarn scripts like so:
The call
command can also be used to invoke the function:
string
name
The name of the function to add.
Func<T1, T2, T3, T4, T5, TResult>
implementation
The System.Delegate
that should be invoked when this function is called.
Yarn.Unity.IActionRegistration registration
TResult
The result of the function.
Library: A collection of functions that can be called from Yarn programs.
Method in ActionRegistrationExtension
Add a new function that returns a value, so that it can be called from Yarn scripts.
When this function has been registered, it can be called from your Yarn scripts like so:
The call
command can also be used to invoke the function:
string
name
The name of the function to add.
Func<T1, T2, T3, T4, T5, T6, TResult>
implementation
The System.Delegate
that should be invoked when this function is called.
Yarn.Unity.IActionRegistration registration
TResult
The result of the function.
Library: A collection of functions that can be called from Yarn programs.
Method in ActionRegistrationExtension
Add a new function that returns a value, so that it can be called from Yarn scripts.
When this function has been registered, it can be called from your Yarn scripts like so:
The call
command can also be used to invoke the function:
string
name
The name of the function to add.
Func<T1, T2, T3, T4, T5, T6, T7, TResult>
implementation
The System.Delegate
that should be invoked when this function is called.
Yarn.Unity.IActionRegistration registration
TResult
The result of the function.
Library: A collection of functions that can be called from Yarn programs.
Method in ActionRegistrationExtension
Add a new function that returns a value, so that it can be called from Yarn scripts.
When this function has been registered, it can be called from your Yarn scripts like so:
The call
command can also be used to invoke the function:
string
name
The name of the function to add.
Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult>
implementation
The System.Delegate
that should be invoked when this function is called.
Yarn.Unity.IActionRegistration registration
TResult
The result of the function.
Library: A collection of functions that can be called from Yarn programs.