Delegate MockRuntime.BeforeFunctionDelegate
Delegate invoked before function calls.
Namespace: UnityEngine.XR.OpenXR.Features.Mock
Assembly: Unity.XR.OpenXR.Features.MockRuntime.dll
Syntax
public delegate XrResult MockRuntime.BeforeFunctionDelegate(string functionName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | functionName | The OpenXR function name. |
Returns
| Type | Description |
|---|---|
| XrResult | The XrResult of the callback. |