Skip to main content

Built in Functions

Notes

All of these functions can be called without a namespace from anywhere in code.

log(message : string)

Logs a message to the editor console.

instantiate(gameObject : GameObject)

Instantiates a new GameObject. This function does the same thing as GameObject.create().