Interface ICustomBootstrap | Entities | 0.8.0-preview.8
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

    Initialize(String)

    Declaration
    bool Initialize(string defaultWorldName)
    Parameters
    Type Name Description
    String defaultWorldName
    Returns
    Type Description
    Boolean
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX