createScript

Script::createScript

Creates a new Script for a Scriptable Component.

Declaration

template <typename T>
T* createScript();

Parameters

None.

Returns

None.

Notes

The type of the Script to create must be passed as a template.