Class SceneManager | Project Tiny | 0.21.0-preview.3
docs.unity3d.com
    Show / Hide Table of Contents

    Class SceneManager

    Inheritance
    Object
    SceneManager
    Namespace: Unity.Tiny.Scenes
    Syntax
    public static class SceneManager

    Methods

    Create(EntityManager, NativeArray<Entity>, Guid)

    Converts the given set of entities to be part of the same scene.

    Declaration
    public static Scene Create(EntityManager entityManager, NativeArray<Entity> entities, Guid guid)
    Parameters
    Type Name Description
    EntityManager entityManager

    The entity manager to operate on.

    NativeArray<Entity> entities

    The set of entities to convert.

    Guid guid

    The unique identifier of the scene.

    Returns
    Type Description
    Scene

    A scene view of entities.

    Create(Guid)

    Declaration
    public static Scene Create(Guid guid)
    Parameters
    Type Name Description
    Guid guid
    Returns
    Type Description
    Scene

    Destroy(EntityManager, Scene)

    Declaration
    public static void Destroy(EntityManager entityManager, Scene scene)
    Parameters
    Type Name Description
    EntityManager entityManager
    Scene scene
    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