Skip to content

Create

Description

Called on engine initialization, or when the game code manually creates an entity (usually on StageLoad() or when a new entity is created).

Parameters

data

Optional pointer to user defined data (object type, value, etc). Will be NULL for entities loaded from the scene layout.

Syntax

void Create(void *data);
void Create(void *data);

Examples

void MyObject_Create(void *data) { }
void MyObject::Create(void *data) { }