> 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.3/api/csharp/yarn.unity/yarn.unity.iactionregistration.md).

# IActionRegistration

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

## Summary

```csharp
public interface IActionRegistration
```

## Methods

| Name                                                                                                                                                                                            | Description                                                                          |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| [AddCommandHandler(string,System.Action)](/2.3/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,Delegate)](/2.3/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.3/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.Func)](/2.3/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.3/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.3/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, IEnumerator>)](/2.3/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.Func\<T1, Coroutine>)](/2.3/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>)](/2.3/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, IEnumerator>)](/2.3/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.   |
| [AddCommandHandler(string,System.Func\<T1, T2, Coroutine>)](/2.3/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.3/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, IEnumerator>)](/2.3/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.Func\<T1, T2, T3, Coroutine>)](/2.3/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.3/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, IEnumerator>)](/2.3/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\<T1, T2, T3, T4, Coroutine>)](/2.3/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.3/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, IEnumerator>)](/2.3/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, T2, T3, T4, T5, Coroutine>)](/2.3/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.3/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, IEnumerator>)](/2.3/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, T3, T4, T5, T6, Coroutine>)](/2.3/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.   |
| [AddFunction(string,Delegate)](/2.3/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.3/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\<TResult, T1>)](/2.3/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\<TResult, T1, T2>)](/2.3/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\<TResult, T1, T2, T3>)](/2.3/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\<TResult, T1, T2, T3, T4>)](/2.3/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\<TResult, T1, T2, T3, T4, T5>)](/2.3/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\<TResult, T1, T2, T3, T4, T5, T6>)](/2.3/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. |
| [RemoveCommandHandler(string)](/2.3/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.removecommandhandler.md)                                                | Removes a command handler.                                                           |
| [RemoveFunction(string)](/2.3/api/csharp/yarn.unity/yarn.unity.iactionregistration/yarn.unity.iactionregistration.removefunction.md)                                                            | Remove a registered function.                                                        |
