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
-
AddFunction(String, Int32, Function)
: Add a new function, so that it can be called from Yarn scripts. -
AddFunction(String, Int32, ReturningFunction)
: Add a new function that returns a value, so that it can be called from Yarn scripts.
Source
Defined in Unity/Assets/YarnSpinner/Scripts/DialogueRunner.cs, line 442.