Last updated 1 year ago
Community
Yarn Spinner® and Secret Lab® are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.
Class in Yarn.Unity
Inherits from System.Object
System.Object
public class Actions : ICommandDispatcher
Actions(DialogueRunner,Library)
AddCommandHandler(string,Action)
AddCommandHandler(string,Delegate)
AddCommandHandler(string,Func)
AddCommandHandler(string,MethodInfo)
AddCommandHandler(string,Func<T1, IEnumerator>)
AddCommandHandler(string,Func<T1, Coroutine>)
AddCommandHandler(string,Action<T1, T2>)
AddCommandHandler(string,Func<T1, T2, IEnumerator>)
AddCommandHandler(string,Func<T1, T2, Coroutine>)
AddCommandHandler(string,Action<T1, T2, T3>)
AddCommandHandler(string,Func<T1, T2, T3, IEnumerator>)
AddCommandHandler(string,Func<T1, T2, T3, Coroutine>)
AddCommandHandler(string,Action<T1, T2, T3, T4>)
AddCommandHandler(string,Func<T1, T2, T3, T4, IEnumerator>)
AddCommandHandler(string,Func<T1, T2, T3, T4, Coroutine>)
AddCommandHandler(string,Action<T1, T2, T3, T4, T5>)
AddCommandHandler(string,Func<T1, T2, T3, T4, T5, IEnumerator>)
AddCommandHandler(string,Func<T1, T2, T3, T4, T5, Coroutine>)
AddCommandHandler(string,Action<T1, T2, T3, T4, T5, T6>)
AddCommandHandler(string,Func<T1, T2, T3, T4, T5, T6, IEnumerator>)
AddCommandHandler(string,Func<T1, T2, T3, T4, T5, T6, Coroutine>)
AddFunction(string,Delegate)
AddFunction(string,Func)
AddFunction(string,Func<TResult, T1>)
AddFunction(string,Func<TResult, T1, T2>)
AddFunction(string,Func<TResult, T1, T2, T3>)
AddFunction(string,Func<TResult, T1, T2, T3, T4>)
AddFunction(string,Func<TResult, T1, T2, T3, T4, T5>)
AddFunction(string,Func<TResult, T1, T2, T3, T4, T5, T6>)
AddRegistrationMethod(Action)
GetLibrary()
RegisterActions()
RemoveCommandHandler(string)
RemoveFunction(string)
SetupForProject(YarnProject)
Commands
DialogueRunner
Library