# RegisterFunctionDeclaration(string,Type,Type\[])

Method in [Actions](https://docs.yarnspinner.dev/api/csharp/yarn.unity/yarn.unity.actions)

## Summary

```csharp
public void RegisterFunctionDeclaration(string name, Type returnType, Type[] parameterTypes)
```

## Parameters

| Name                    | Description |
| ----------------------- | ----------- |
| `string` name           |             |
| `Type` returnType       |             |
| `Type[]` parameterTypes |             |
