ScriptBase

Functions

Name

Description

onSceneEnter

Is executed after a new scene is loaded.

onSceneExit

Is executed before a new scene is loaded.

physicsUpdate

Is executed each time the Physics Module does a physics iteration.

onCollisionEnter

Is executed the frame an Entity’s Collidable Component collides with another’s Entity’s Collidable Component.

onCollisionStill

Is executed during the time an Entity’s Collidable Component collides with another’s Entity’s Collidable Component.

onCollisionExit

Is executed the frame an Entity’s Collidable Component stops colliding with another’s Entity’s Collidable Component.