docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor EntitySceneReference

    EntitySceneReference(Hash128, int)

    Initializes and returns an instance of EntitySceneReference.

    Declaration
    public EntitySceneReference(Hash128 guid, int sectionIndex)
    Parameters
    Type Name Description
    Hash128 guid

    The guid of the scene asset.

    int sectionIndex

    The subscene section index.

    EntitySceneReference(SceneAsset)

    Initializes and returns an instance of EntitySceneReference.

    Declaration
    public EntitySceneReference(SceneAsset sceneAsset)
    Parameters
    Type Name Description
    SceneAsset sceneAsset

    The referenced SceneAsset.

    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)