Interface ICustomBootstrap | Entities | 0.3.0-preview.4
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. 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 © 2019 Unity Technologies
    Generated by DocFX