docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Initialize

    Initialize()

    Initialize the loader. This should initialize all subsystems to support the desired runtime setup this loader represents.

    This is the only method on XRLoader that Management uses to determine the active loader to use. If this method returns true, Management locks this loader as the activeLoader and and stops fall through processing on the loaders list of current loaders.

    If this method returns false, XRManagerSettings continues to process the next loader in the loaders list, or fails completely when the list is exhausted.

    Declaration
    public override bool Initialize()
    Returns
    Type Description
    bool

    Whether or not initialization succeeded.

    Overrides
    XRLoader.Initialize()
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)