docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method OnSessionLossPending

    OnSessionLossPending(ulong)

    Called when the runtime transitions to the XR_SESSION_STATE_LOSS_PENDING state. This is a notification to the feature implementer that the session is about to be lost. This feature should do what it needs to do to prepare for potential session recreation.

    Declaration
    protected virtual void OnSessionLossPending(ulong xrSession)
    Parameters
    Type Name Description
    ulong xrSession

    The session that is going to be lost

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, November 1, 2023