Click or drag to resize

WaitForEvent Method (ScriptReference)

Suspend coroutine until a given script event fires.

Namespace:  Demo3D.Native
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public static ITask ForEvent(
	ScriptReference script
)

Parameters

script
Type: Demo3D.VisualsScriptReference
Script event to suspend until it fires.

Return Value

Type: ITask
A task representing the wait for event.
See Also