docs.unity3d.com
    Show / Hide Table of Contents

    Class EditorEntityScenes

    Inheritance
    Object
    EditorEntityScenes
    Namespace: Unity.Scenes.Editor
    Syntax
    public static class EditorEntityScenes

    Methods

    Name Description
    AddEntityBinaryFileDependencies(AssetImportContext, Hash128)
    ConvertAndWriteEntityScene(Scene, GameObjectConversionSettings, List<ReferencedUnityObjects>)

    Converts a loaded Unity scene to a temporarily constructed EntityManager and then writes it to disk as an Entity Section Bundle.

    GetSubScenes(GUID)

    For a given scene returns the sub scenes embedded in that scene

    Read(EntityManager, String, String)
    Write(EntityManager, String, String)
    WriteEntitySectionBundle(EntityManager, Hash128, String, AssetImportContext, Int32, List<ReferencedUnityObjects>)

    Writes an EntityManager into a collection of Entity Section files. This is referred to as an entity section bundle. It is a header + entity binary files for each section + hybrid reference objects for each section, this collection of files is loadable by the SceneSystem. This function automatically slices an the EntityManager into sections based on the SceneSection shared component and writes each section to disk seperately. This function can only be used during asset import.

    Back to top
    Terms of use
    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