This site is for Yarn Spinner v1, and won't be updated. Go to the current site.

DialogueRunner.RemoveFunction Method

Remove a registered function.

public void RemoveFunction(string name)

Remarks

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

Parameters

Parameter Description
string name The name of the function to remove.

See Also

Source

Defined in Unity/Assets/YarnSpinner/Scripts/DialogueRunner.cs, line 442.