Init Event

Definition

function Init()

end

Description

Suppose a script that has an Init() event is attached to an object. In this case, the Init() event is called exactly once before the Update() event when the corresponding object is initialized.

Example

function Init()
    PrintConsole("\nInit() Event was called")
end
adminInit Event