docs.unity.cn
    Show / Hide Table of Contents

    Interface ICustomBootstrap

    When entering playmode or the game starts in the Player a default world is created. Sometimes you need multiple worlds to be setup when the game starts or perform some custom world initialization. This lets you override the bootstrap of game code world creation.

    Namespace: Unity.Entities
    Syntax
    public interface ICustomBootstrap

    Methods

    Name Description
    Initialize(String)

    Called during default world initialization to give the application a chance to set up additional worlds beyond (or instead of) the default world, and to perform additional one-time initialization before any worlds are created.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023