Click or drag to resize

WaitForEvent(ScriptReference) Method

Suspend coroutine until a given script event fires.

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

Parameters

script  ScriptReference
Script event to suspend until it fires.

Return Value

ITask
A task representing the wait for event.
See Also