docs.unity.cn
    Show / Hide Table of Contents

    Constructor World

    World(String, WorldFlags)

    Construct a new World instance

    Declaration
    public World(string name, WorldFlags flags = WorldFlags.Simulation)
    Parameters
    Type Name Description
    String name

    The name to assign to the new World

    WorldFlags flags

    The flags to assign to the new World

    World(String, WorldFlags, AllocatorManager.AllocatorHandle)

    Construct a new World instance

    Declaration
    public World(string name, WorldFlags flags, AllocatorManager.AllocatorHandle backingAllocatorHandle)
    Parameters
    Type Name Description
    String name

    The name to assign to the new World

    WorldFlags flags

    The flags to assign to the new World

    AllocatorManager.AllocatorHandle backingAllocatorHandle

    The allocator to use for any of the world's internal memory allocations

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