createScript ============ :doc:`/types/Script/index`::createScript Creates a new :doc:`/types/Script/index` for a :doc:`/types/Scriptable/index` :doc:`/entity_component_system/component/index`. Declaration ----------- .. code-block:: cpp template T* createScript(); Parameters ---------- None. Returns ------- None. Notes ----- The type of the :doc:`/types/Script/index` to create must be passed as a template.