ActionRegistrationExtension
public static class ActionRegistrationExtensionInherits from System.Object
#Methods
#AddCommandHandler(IActionRegistration, string, System.Action)
public static void AddCommandHandler(this IActionRegistration registration, string commandName, System.Action handler);Parameters
commandNamestringThe name of the command.handlerActionTheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler(IActionRegistration, string, System.Func<Coroutine>)
public static void AddCommandHandler(this IActionRegistration registration, string commandName, System.Func<Coroutine> handler);Parameters
commandNamestringThe name of the command.handlerFunc<Coroutine>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler(IActionRegistration, string, System.Func<IEnumerator>)
public static void AddCommandHandler(this IActionRegistration registration, string commandName, System.Func<IEnumerator> handler);Parameters
commandNamestringThe name of the command.handlerFunc<IEnumerator>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler(IActionRegistration, string, System.Func<System.Threading.Tasks.Task>)
public static void AddCommandHandler(this IActionRegistration registration, string commandName, System.Func<System.Threading.Tasks.Task> handler);Parameters
commandNamestringThe name of the command.handlerFunc<System.Threading.Tasks.Task>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler(IActionRegistration, string, System.Func<YarnTask>)
public static void AddCommandHandler(this IActionRegistration registration, string commandName, System.Func<YarnTask> handler);Parameters
commandNamestringThe name of the command.handlerFunc<Yarn.Unity.YarnTask>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(IActionRegistration, string, System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(this IActionRegistration registration, string commandName, System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> handler);Parameters
commandNamestringThe name of the command.handlerAction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, Coroutine>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, Coroutine> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, Coroutine>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, IEnumerator>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, IEnumerator> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, IEnumerator>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, System.Threading.Tasks.Task>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, System.Threading.Tasks.Task> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, System.Threading.Tasks.Task>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, YarnTask>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, YarnTask> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, Yarn.Unity.YarnTask>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(IActionRegistration, string, System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(this IActionRegistration registration, string commandName, System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> handler);Parameters
commandNamestringThe name of the command.handlerAction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, Coroutine>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, Coroutine> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, Coroutine>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, IEnumerator>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, IEnumerator> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, IEnumerator>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, System.Threading.Tasks.Task>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, System.Threading.Tasks.Task> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, System.Threading.Tasks.Task>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, YarnTask>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, YarnTask> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, Yarn.Unity.YarnTask>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(IActionRegistration, string, System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(this IActionRegistration registration, string commandName, System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> handler);Parameters
commandNamestringThe name of the command.handlerAction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, Coroutine>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, Coroutine> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, Coroutine>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, IEnumerator>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, IEnumerator> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, IEnumerator>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, System.Threading.Tasks.Task>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, System.Threading.Tasks.Task> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, System.Threading.Tasks.Task>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, YarnTask>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, YarnTask> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, Yarn.Unity.YarnTask>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(IActionRegistration, string, System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(this IActionRegistration registration, string commandName, System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> handler);Parameters
commandNamestringThe name of the command.handlerAction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, Coroutine>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, Coroutine> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, Coroutine>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, IEnumerator>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, IEnumerator> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, IEnumerator>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, System.Threading.Tasks.Task>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, System.Threading.Tasks.Task> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, System.Threading.Tasks.Task>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, YarnTask>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, YarnTask> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, Yarn.Unity.YarnTask>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(IActionRegistration, string, System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(this IActionRegistration registration, string commandName, System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> handler);Parameters
commandNamestringThe name of the command.handlerAction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, Coroutine>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, Coroutine> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, Coroutine>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, IEnumerator>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, IEnumerator> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, IEnumerator>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, System.Threading.Tasks.Task>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, System.Threading.Tasks.Task> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, System.Threading.Tasks.Task>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, YarnTask>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, YarnTask> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, Yarn.Unity.YarnTask>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(IActionRegistration, string, System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(this IActionRegistration registration, string commandName, System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> handler);Parameters
commandNamestringThe name of the command.handlerAction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Coroutine>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Coroutine> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Coroutine>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, IEnumerator>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, IEnumerator> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, IEnumerator>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, System.Threading.Tasks.Task>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, System.Threading.Tasks.Task> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, System.Threading.Tasks.Task>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, YarnTask>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, YarnTask> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Yarn.Unity.YarnTask>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(IActionRegistration, string, System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(this IActionRegistration registration, string commandName, System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> handler);Parameters
commandNamestringThe name of the command.handlerAction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Coroutine>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Coroutine> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Coroutine>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, IEnumerator>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, IEnumerator> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, IEnumerator>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, System.Threading.Tasks.Task>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, System.Threading.Tasks.Task> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, System.Threading.Tasks.Task>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, YarnTask>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, YarnTask> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Yarn.Unity.YarnTask>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9>(IActionRegistration, string, System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9>(this IActionRegistration registration, string commandName, System.Action<T1, T2, T3, T4, T5, T6, T7, T8, T9> handler);Parameters
commandNamestringThe name of the command.handlerAction<T1, T2, T3, T4, T5, T6, T7, T8, T9>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, Coroutine>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, Coroutine> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, Coroutine>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, IEnumerator>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, IEnumerator> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, IEnumerator>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, System.Threading.Tasks.Task>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, System.Threading.Tasks.Task> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, System.Threading.Tasks.Task>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, YarnTask>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8, T9>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, YarnTask> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, Yarn.Unity.YarnTask>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8>(IActionRegistration, string, System.Action<T1, T2, T3, T4, T5, T6, T7, T8>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8>(this IActionRegistration registration, string commandName, System.Action<T1, T2, T3, T4, T5, T6, T7, T8> handler);Parameters
commandNamestringThe name of the command.handlerAction<T1, T2, T3, T4, T5, T6, T7, T8>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, Coroutine>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, Coroutine> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, Coroutine>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, IEnumerator>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, IEnumerator> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, IEnumerator>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, System.Threading.Tasks.Task>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, System.Threading.Tasks.Task> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, System.Threading.Tasks.Task>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, YarnTask>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7, T8>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, YarnTask> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, T8, Yarn.Unity.YarnTask>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7>(IActionRegistration, string, System.Action<T1, T2, T3, T4, T5, T6, T7>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7>(this IActionRegistration registration, string commandName, System.Action<T1, T2, T3, T4, T5, T6, T7> handler);Parameters
commandNamestringThe name of the command.handlerAction<T1, T2, T3, T4, T5, T6, T7>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, Coroutine>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, Coroutine> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, Coroutine>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, IEnumerator>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, IEnumerator> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, IEnumerator>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, System.Threading.Tasks.Task>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, System.Threading.Tasks.Task> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, System.Threading.Tasks.Task>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6, T7>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, YarnTask>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6, T7>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, T7, YarnTask> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, T7, Yarn.Unity.YarnTask>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6>(IActionRegistration, string, System.Action<T1, T2, T3, T4, T5, T6>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6>(this IActionRegistration registration, string commandName, System.Action<T1, T2, T3, T4, T5, T6> handler);Parameters
commandNamestringThe name of the command.handlerAction<T1, T2, T3, T4, T5, T6>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, Coroutine>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, Coroutine> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, Coroutine>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, IEnumerator>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, IEnumerator> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, IEnumerator>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, System.Threading.Tasks.Task>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, System.Threading.Tasks.Task> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, System.Threading.Tasks.Task>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5, T6>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, YarnTask>)
public static void AddCommandHandler<T1, T2, T3, T4, T5, T6>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, T6, YarnTask> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, T6, Yarn.Unity.YarnTask>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5>(IActionRegistration, string, System.Action<T1, T2, T3, T4, T5>)
public static void AddCommandHandler<T1, T2, T3, T4, T5>(this IActionRegistration registration, string commandName, System.Action<T1, T2, T3, T4, T5> handler);Parameters
commandNamestringThe name of the command.handlerAction<T1, T2, T3, T4, T5>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, Coroutine>)
public static void AddCommandHandler<T1, T2, T3, T4, T5>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, Coroutine> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, Coroutine>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, IEnumerator>)
public static void AddCommandHandler<T1, T2, T3, T4, T5>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, IEnumerator> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, IEnumerator>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, System.Threading.Tasks.Task>)
public static void AddCommandHandler<T1, T2, T3, T4, T5>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, System.Threading.Tasks.Task> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, System.Threading.Tasks.Task>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4, T5>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, YarnTask>)
public static void AddCommandHandler<T1, T2, T3, T4, T5>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, T5, YarnTask> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, T5, Yarn.Unity.YarnTask>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4>(IActionRegistration, string, System.Action<T1, T2, T3, T4>)
public static void AddCommandHandler<T1, T2, T3, T4>(this IActionRegistration registration, string commandName, System.Action<T1, T2, T3, T4> handler);Parameters
commandNamestringThe name of the command.handlerAction<T1, T2, T3, T4>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4>(IActionRegistration, string, System.Func<T1, T2, T3, T4, Coroutine>)
public static void AddCommandHandler<T1, T2, T3, T4>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, Coroutine> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, Coroutine>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4>(IActionRegistration, string, System.Func<T1, T2, T3, T4, IEnumerator>)
public static void AddCommandHandler<T1, T2, T3, T4>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, IEnumerator> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, IEnumerator>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4>(IActionRegistration, string, System.Func<T1, T2, T3, T4, System.Threading.Tasks.Task>)
public static void AddCommandHandler<T1, T2, T3, T4>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, System.Threading.Tasks.Task> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, System.Threading.Tasks.Task>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3, T4>(IActionRegistration, string, System.Func<T1, T2, T3, T4, YarnTask>)
public static void AddCommandHandler<T1, T2, T3, T4>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, T4, YarnTask> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, T4, Yarn.Unity.YarnTask>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3>(IActionRegistration, string, System.Action<T1, T2, T3>)
public static void AddCommandHandler<T1, T2, T3>(this IActionRegistration registration, string commandName, System.Action<T1, T2, T3> handler);Parameters
commandNamestringThe name of the command.handlerAction<T1, T2, T3>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3>(IActionRegistration, string, System.Func<T1, T2, T3, Coroutine>)
public static void AddCommandHandler<T1, T2, T3>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, Coroutine> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, Coroutine>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3>(IActionRegistration, string, System.Func<T1, T2, T3, IEnumerator>)
public static void AddCommandHandler<T1, T2, T3>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, IEnumerator> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, IEnumerator>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3>(IActionRegistration, string, System.Func<T1, T2, T3, System.Threading.Tasks.Task>)
public static void AddCommandHandler<T1, T2, T3>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, System.Threading.Tasks.Task> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, System.Threading.Tasks.Task>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2, T3>(IActionRegistration, string, System.Func<T1, T2, T3, YarnTask>)
public static void AddCommandHandler<T1, T2, T3>(this IActionRegistration registration, string commandName, System.Func<T1, T2, T3, YarnTask> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, T3, Yarn.Unity.YarnTask>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2>(IActionRegistration, string, System.Action<T1, T2>)
public static void AddCommandHandler<T1, T2>(this IActionRegistration registration, string commandName, System.Action<T1, T2> handler);Parameters
commandNamestringThe name of the command.handlerAction<T1, T2>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2>(IActionRegistration, string, System.Func<T1, T2, Coroutine>)
public static void AddCommandHandler<T1, T2>(this IActionRegistration registration, string commandName, System.Func<T1, T2, Coroutine> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, Coroutine>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2>(IActionRegistration, string, System.Func<T1, T2, IEnumerator>)
public static void AddCommandHandler<T1, T2>(this IActionRegistration registration, string commandName, System.Func<T1, T2, IEnumerator> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, IEnumerator>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2>(IActionRegistration, string, System.Func<T1, T2, System.Threading.Tasks.Task>)
public static void AddCommandHandler<T1, T2>(this IActionRegistration registration, string commandName, System.Func<T1, T2, System.Threading.Tasks.Task> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, System.Threading.Tasks.Task>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1, T2>(IActionRegistration, string, System.Func<T1, T2, YarnTask>)
public static void AddCommandHandler<T1, T2>(this IActionRegistration registration, string commandName, System.Func<T1, T2, YarnTask> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, T2, Yarn.Unity.YarnTask>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1>(IActionRegistration, string, System.Action<T1>)
public static void AddCommandHandler<T1>(this IActionRegistration registration, string commandName, System.Action<T1> handler);Parameters
commandNamestringThe name of the command.handlerAction<T1>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1>(IActionRegistration, string, System.Func<T1, Coroutine>)
public static void AddCommandHandler<T1>(this IActionRegistration registration, string commandName, System.Func<T1, Coroutine> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, Coroutine>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1>(IActionRegistration, string, System.Func<T1, IEnumerator>)
public static void AddCommandHandler<T1>(this IActionRegistration registration, string commandName, System.Func<T1, IEnumerator> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, IEnumerator>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1>(IActionRegistration, string, System.Func<T1, System.Threading.Tasks.Task>)
public static void AddCommandHandler<T1>(this IActionRegistration registration, string commandName, System.Func<T1, System.Threading.Tasks.Task> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, System.Threading.Tasks.Task>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddCommandHandler<T1>(IActionRegistration, string, System.Func<T1, YarnTask>)
public static void AddCommandHandler<T1>(this IActionRegistration registration, string commandName, System.Func<T1, YarnTask> handler);Parameters
commandNamestringThe name of the command.handlerFunc<T1, Yarn.Unity.YarnTask>TheCommandHandlerthat will be invoked when the command is called.registrationYarn.Unity.IActionRegistration
You can also register commands via the YarnCommandAttribute attribute on your methods.
When this command handler has been added, it can be called from your Yarn scripts like so:
<<commandName param1 param2>>
If handler is a method that returns a YarnTask, Task, Awaitable, or UniTask when the command is run, the DialogueRunner will wait for the task to finish before delivering any more content.
If handler is a method that returns a 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.
#AddFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>)
public static void AddFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>(this IActionRegistration registration, string name, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult> implementation);Type Parameters
TResultThe result of the function.
Parameters
namestringThe name of the function to add.implementationFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>TheSystem.Delegatethat should be invoked when this function is called.registrationYarn.Unity.IActionRegistration
You can also register functions via the YarnFunctionAttribute attribute on your methods.
When this function has been registered, it can be called from your Yarn scripts like so:
<<if myFunction(1, 2) == true>>
myFunction returned true!
<<endif>>
See also
Library
#AddFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>)
public static void AddFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(this IActionRegistration registration, string name, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult> implementation);Type Parameters
TResultThe result of the function.
Parameters
namestringThe name of the function to add.implementationFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>TheSystem.Delegatethat should be invoked when this function is called.registrationYarn.Unity.IActionRegistration
You can also register functions via the YarnFunctionAttribute attribute on your methods.
When this function has been registered, it can be called from your Yarn scripts like so:
<<if myFunction(1, 2) == true>>
myFunction returned true!
<<endif>>
See also
Library
#AddFunction<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult>)
public static void AddFunction<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(this IActionRegistration registration, string name, System.Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult> implementation);Type Parameters
TResultThe result of the function.
Parameters
namestringThe name of the function to add.implementationFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>TheSystem.Delegatethat should be invoked when this function is called.registrationYarn.Unity.IActionRegistration
You can also register functions via the YarnFunctionAttribute attribute on your methods.
When this function has been registered, it can be called from your Yarn scripts like so:
<<if myFunction(1, 2) == true>>
myFunction returned true!
<<endif>>
See also
Library
#AddFunction<T1, T2, T3, T4, T5, T6, T7, TResult>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, T7, TResult>)
public static void AddFunction<T1, T2, T3, T4, T5, T6, T7, TResult>(this IActionRegistration registration, string name, System.Func<T1, T2, T3, T4, T5, T6, T7, TResult> implementation);Type Parameters
TResultThe result of the function.
Parameters
namestringThe name of the function to add.implementationFunc<T1, T2, T3, T4, T5, T6, T7, TResult>TheSystem.Delegatethat should be invoked when this function is called.registrationYarn.Unity.IActionRegistration
You can also register functions via the YarnFunctionAttribute attribute on your methods.
When this function has been registered, it can be called from your Yarn scripts like so:
<<if myFunction(1, 2) == true>>
myFunction returned true!
<<endif>>
See also
Library
#AddFunction<T1, T2, T3, T4, T5, T6, TResult>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, T6, TResult>)
public static void AddFunction<T1, T2, T3, T4, T5, T6, TResult>(this IActionRegistration registration, string name, System.Func<T1, T2, T3, T4, T5, T6, TResult> implementation);Type Parameters
TResultThe result of the function.
Parameters
namestringThe name of the function to add.implementationFunc<T1, T2, T3, T4, T5, T6, TResult>TheSystem.Delegatethat should be invoked when this function is called.registrationYarn.Unity.IActionRegistration
You can also register functions via the YarnFunctionAttribute attribute on your methods.
When this function has been registered, it can be called from your Yarn scripts like so:
<<if myFunction(1, 2) == true>>
myFunction returned true!
<<endif>>
See also
Library
#AddFunction<T1, T2, T3, T4, T5, TResult>(IActionRegistration, string, System.Func<T1, T2, T3, T4, T5, TResult>)
public static void AddFunction<T1, T2, T3, T4, T5, TResult>(this IActionRegistration registration, string name, System.Func<T1, T2, T3, T4, T5, TResult> implementation);Type Parameters
TResultThe result of the function.
Parameters
namestringThe name of the function to add.implementationFunc<T1, T2, T3, T4, T5, TResult>TheSystem.Delegatethat should be invoked when this function is called.registrationYarn.Unity.IActionRegistration
You can also register functions via the YarnFunctionAttribute attribute on your methods.
When this function has been registered, it can be called from your Yarn scripts like so:
<<if myFunction(1, 2) == true>>
myFunction returned true!
<<endif>>
See also
Library
#AddFunction<T1, T2, T3, T4, TResult>(IActionRegistration, string, System.Func<T1, T2, T3, T4, TResult>)
public static void AddFunction<T1, T2, T3, T4, TResult>(this IActionRegistration registration, string name, System.Func<T1, T2, T3, T4, TResult> implementation);Type Parameters
TResultThe result of the function.
Parameters
namestringThe name of the function to add.implementationFunc<T1, T2, T3, T4, TResult>TheSystem.Delegatethat should be invoked when this function is called.registrationYarn.Unity.IActionRegistration
You can also register functions via the YarnFunctionAttribute attribute on your methods.
When this function has been registered, it can be called from your Yarn scripts like so:
<<if myFunction(1, 2) == true>>
myFunction returned true!
<<endif>>
See also
Library
#AddFunction<T1, T2, T3, TResult>(IActionRegistration, string, System.Func<T1, T2, T3, TResult>)
public static void AddFunction<T1, T2, T3, TResult>(this IActionRegistration registration, string name, System.Func<T1, T2, T3, TResult> implementation);Type Parameters
TResultThe result of the function.
Parameters
namestringThe name of the function to add.implementationFunc<T1, T2, T3, TResult>TheSystem.Delegatethat should be invoked when this function is called.registrationYarn.Unity.IActionRegistration
You can also register functions via the YarnFunctionAttribute attribute on your methods.
When this function has been registered, it can be called from your Yarn scripts like so:
<<if myFunction(1, 2) == true>>
myFunction returned true!
<<endif>>
See also
Library
#AddFunction<T1, T2, TResult>(IActionRegistration, string, System.Func<T1, T2, TResult>)
public static void AddFunction<T1, T2, TResult>(this IActionRegistration registration, string name, System.Func<T1, T2, TResult> implementation);Type Parameters
TResultThe result of the function.
Parameters
namestringThe name of the function to add.implementationFunc<T1, T2, TResult>TheSystem.Delegatethat should be invoked when this function is called.registrationYarn.Unity.IActionRegistration
You can also register functions via the YarnFunctionAttribute attribute on your methods.
When this function has been registered, it can be called from your Yarn scripts like so:
<<if myFunction(1, 2) == true>>
myFunction returned true!
<<endif>>
See also
Library
#AddFunction<T1, TResult>(IActionRegistration, string, System.Func<T1, TResult>)
public static void AddFunction<T1, TResult>(this IActionRegistration registration, string name, System.Func<T1, TResult> implementation);Type Parameters
TResultThe result of the function.
Parameters
namestringThe name of the function to add.implementationFunc<T1, TResult>TheSystem.Delegatethat should be invoked when this function is called.registrationYarn.Unity.IActionRegistration
You can also register functions via the YarnFunctionAttribute attribute on your methods.
When this function has been registered, it can be called from your Yarn scripts like so:
<<if myFunction(1, 2) == true>>
myFunction returned true!
<<endif>>
See also
Library
#AddFunction<TResult>(IActionRegistration, string, System.Func<TResult>)
public static void AddFunction<TResult>(this IActionRegistration registration, string name, System.Func<TResult> implementation);Type Parameters
TResultThe result of the function.
Parameters
namestringThe name of the function to add.implementationFunc<TResult>TheSystem.Delegatethat should be invoked when this function is called.registrationYarn.Unity.IActionRegistration
You can also register functions via the YarnFunctionAttribute attribute on your methods.
When this function has been registered, it can be called from your Yarn scripts like so:
<<if myFunction(1, 2) == true>>
myFunction returned true!
<<endif>>
See also
Library
Generated from Yarn Spinner for Unity 3.3.