OnPhaseBegin - Scene
Member of: Scene Script
Event called when a scene phase starts.
SyntaxEdit
Event OnPhaseBegin(int auiPhaseIndex)
ParametersEdit
- auiPhaseIndex: The phase index that just started.
ExamplesEdit
Event OnPhaseBegin(int auiPhaseIndex)
Debug.Trace("Scene phase " + auiPhaseIndex + " has just started")
endEvent
NotesEdit
- This event runs in parallel with the scene phase begin fragment.
- Because the scene phase index is an index, it will change if someone changes the phase order in the editor, so make sure to update your event accordingly.