# RemoveFunction(string)

Method in [DialogueRunner](https://docs.yarnspinner.dev/2.0/api/csharp/yarn.unity/yarn.unity.dialoguerunner)

## Summary

Remove a registered function.

```csharp
public void RemoveFunction(string name);
```

## Remarks

After a function has been removed, it cannot be called from Yarn scripts.

## Parameters

| Name          | Description                         |
| ------------- | ----------------------------------- |
| `string` name | The name of the function to remove. |

## See Also

* AddFunction\<TResult>(string, Func\<TResult>)
