docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetSceneFileValue

    GetSceneFileValue(UntypedWeakReferenceId)

    The scene file. This is needed to integrate when the scene is loaded with the autoIntegrate value set to false.

    Declaration
    [ExcludeFromBurstCompatTesting("References managed engine API and static data")]
    [Obsolete("This property is no longer valid.  The scene file does not exist in all cases (e.g. play mode).")]
    public static ContentSceneFile GetSceneFileValue(UntypedWeakReferenceId sceneId)
    Parameters
    Type Name Description
    UntypedWeakReferenceId sceneId

    The runtime id of the scene.

    Returns
    Type Description
    ContentSceneFile

    The scene file. If the scene is not loaded, the returned scene will be invalid.

    In This Article
    • GetSceneFileValue(UntypedWeakReferenceId)
    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)