destroyScript

ScriptManagerInterface::destroyScript

Destroys a Script.

Declaration

void destroyScript(ScriptBase* script);

Parameters

Name

Type

Description

script

ScriptBase*

The Script to destroy.

Returns

None.

Notes

This function is called automatically when a Scriptable Component, containing a valid script, attached to an Entity is removed.