> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration.md).

# IActionRegistration

Interface in [Yarn.Unity](/2.5/api/csharp/yarn.unity.md)

## Summary

```csharp
public interface IActionRegistration
```

## Methods

| Name                                                                                                                                                                                                             | Description                                                                          |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| [AddCommandHandler(string,System.Action)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-25.md)                                                      | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,Delegate)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-1.md)                                                            | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-14.md)                                                        | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-3.md)                                                         | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,MethodInfo)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-2.md)                                                          | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Action)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-26.md)                                                      | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func\<T1, IEnumerator>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-15.md)                                      | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func\<T1, Coroutine>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-4.md)                                         | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Action\<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-35.md)            | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func\<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, IEnumerator>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-24.md) | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func\<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Coroutine>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-13.md)   | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Action\<T1, T2>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-27.md)                                             | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func\<T1, T2, IEnumerator>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-16.md)                                  | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func\<T1, T2, Coroutine>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-5.md)                                     | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Action\<T1, T2, T3>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-28.md)                                         | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func\<T1, T2, T3, IEnumerator>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-17.md)                              | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func\<T1, T2, T3, Coroutine>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-6.md)                                 | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Action\<T1, T2, T3, T4>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-29.md)                                     | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func\<T1, T2, T3, T4, IEnumerator>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-18.md)                          | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func\<T1, T2, T3, T4, Coroutine>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-7.md)                             | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Action\<T1, T2, T3, T4, T5>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-30.md)                                 | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func\<T1, T2, T3, T4, T5, IEnumerator>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-19.md)                      | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func\<T1, T2, T3, T4, T5, Coroutine>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-8.md)                         | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Action\<T1, T2, T3, T4, T5, T6>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-31.md)                             | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func\<T1, T2, T3, T4, T5, T6, IEnumerator>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-20.md)                  | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func\<T1, T2, T3, T4, T5, T6, Coroutine>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-9.md)                     | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Action\<T1, T2, T3, T4, T5, T6, T7>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-32.md)                         | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func\<T1, T2, T3, T4, T5, T6, T7, IEnumerator>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-21.md)              | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func\<T1, T2, T3, T4, T5, T6, T7, Coroutine>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-10.md)                | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Action\<T1, T2, T3, T4, T5, T6, T7, T8>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-33.md)                     | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func\<T1, T2, T3, T4, T5, T6, T7, T8, IEnumerator>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-22.md)          | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func\<T1, T2, T3, T4, T5, T6, T7, T8, Coroutine>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-11.md)            | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Action\<T1, T2, T3, T4, T5, T6, T7, T8, T9>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-34.md)                 | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func\<T1, T2, T3, T4, T5, T6, T7, T8, T9, IEnumerator>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-23.md)      | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddCommandHandler(string,System.Func\<T1, T2, T3, T4, T5, T6, T7, T8, T9, Coroutine>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addcommandhandler-12.md)        | Adds a command handler. Dialogue will pause execution after the command is called.   |
| [AddFunction(string,Delegate)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addfunction-1.md)                                                                        | Add a new function that returns a value, so that it can be called from Yarn scripts. |
| [AddFunction(string,System.Func)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addfunction-2.md)                                                                     | Add a new function that returns a value, so that it can be called from Yarn scripts. |
| [AddFunction(string,System.Func\<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addfunction-11.md)                      | Add a new function that returns a value, so that it can be called from Yarn scripts. |
| [AddFunction(string,System.Func\<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addfunction-12.md)                 | Add a new function that returns a value, so that it can be called from Yarn scripts. |
| [AddFunction(string,System.Func\<T1, TResult>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addfunction-3.md)                                                       | Add a new function that returns a value, so that it can be called from Yarn scripts. |
| [AddFunction(string,System.Func\<T1, T2, TResult>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addfunction-4.md)                                                   | Add a new function that returns a value, so that it can be called from Yarn scripts. |
| [AddFunction(string,System.Func\<T1, T2, T3, TResult>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addfunction-5.md)                                               | Add a new function that returns a value, so that it can be called from Yarn scripts. |
| [AddFunction(string,System.Func\<T1, T2, T3, T4, TResult>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addfunction-6.md)                                           | Add a new function that returns a value, so that it can be called from Yarn scripts. |
| [AddFunction(string,System.Func\<T1, T2, T3, T4, T5, TResult>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addfunction-7.md)                                       | Add a new function that returns a value, so that it can be called from Yarn scripts. |
| [AddFunction(string,System.Func\<T1, T2, T3, T4, T5, T6, TResult>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addfunction-8.md)                                   | Add a new function that returns a value, so that it can be called from Yarn scripts. |
| [AddFunction(string,System.Func\<T1, T2, T3, T4, T5, T6, T7, TResult>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addfunction-9.md)                               | Add a new function that returns a value, so that it can be called from Yarn scripts. |
| [AddFunction(string,System.Func\<T1, T2, T3, T4, T5, T6, T7, T8, TResult>)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.addfunction-10.md)                          | Add a new function that returns a value, so that it can be called from Yarn scripts. |
| [RemoveCommandHandler(string)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.removecommandhandler.md)                                                                 | Removes a command handler.                                                           |
| [RemoveFunction(string)](/2.5/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.removefunction.md)                                                                             | Remove a registered function.                                                        |
