Interface ICustomBootstrap | Entities | 0.10.0-preview.6
docs.unity3d.com
    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
    In This Article
    • Methods
      • Initialize(String)
    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