Struct SceneImporterData | Entities | 0.10.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Struct SceneImporterData

    Contains scene data that is stored in the userData field of the importer.

    Namespace: Unity.Scenes.Editor
    Syntax
    public struct SceneImporterData

    Fields

    DisableLiveLink

    Exclude this scene from the LiveLink system. If excluded, the scene will be built into the player data if it is in the BuildSettings scenes list.

    Declaration
    public bool DisableLiveLink
    Field Value
    Type Description
    Boolean

    Methods

    CanLiveLinkScene(String)

    Method to check if a scene can be used by the LiveLink system.

    Declaration
    public static bool CanLiveLinkScene(string path)
    Parameters
    Type Name Description
    String path

    The scene path.

    Returns
    Type Description
    Boolean

    If true, the scene can be used.

    GetAtPath(String)

    Get the importer data for a scene given its path.

    Declaration
    public static SceneImporterData GetAtPath(string path)
    Parameters
    Type Name Description
    String path

    The scene path.

    Returns
    Type Description
    SceneImporterData

    The data for the scene.

    SetAtPath(String, SceneImporterData)

    Set the scene data for the scene at the given path.

    Declaration
    public static void SetAtPath(string path, SceneImporterData data)
    Parameters
    Type Name Description
    String path

    The scene path.

    SceneImporterData data

    The scene data.

    In This Article
    • Fields
      • DisableLiveLink
    • Methods
      • CanLiveLinkScene(String)
      • GetAtPath(String)
      • SetAtPath(String, SceneImporterData)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023