docs.unity.cn
    Show / Hide Table of Contents

    Method Initialize

    Initialize(String, Boolean)

    Initializes the default world or runs ICustomBootstrap if one is available.

    Declaration
    public static World Initialize(string defaultWorldName, bool editorWorld = false)
    Parameters
    Type Name Description
    String defaultWorldName

    The name of the world that will be created. Unless there is a custom bootstrap.

    Boolean editorWorld

    Editor worlds by default only include systems with [ExecuteAlways]. If editorWorld is true, ICustomBootstrap will not be used.

    Returns
    Type Description
    World
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use