docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NetcodeWorld

    Provides various utility APIs for the current world. Most of these should have an ECS counter part, this class simply provides direct access to those various components. Provides shortcuts to its current Unity.NetCode.Connection if online, its various singletons, etc.

    Inheritance
    object
    World
    NetcodeWorld
    Implements
    IDisposable
    Inherited Members
    World.DefaultGameObjectInjectionWorld
    World.All
    World.NextSequenceNumber
    World.Systems
    World.Unmanaged
    World.Flags
    World.Name
    World.Version
    World.EntityManager
    World.IsCreated
    World.SequenceNumber
    World.Time
    World.UpdateAllocatorEnableBlockFree
    World.MaximumDeltaTime
    World.Dispose()
    World.DisposeAllWorlds()
    World.TimeSingleton
    World.SetTime(TimeData)
    World.PushTime(TimeData)
    World.PopTime()
    World.GetOrCreateSystem<T>()
    World.GetOrCreateSystemManaged<T>()
    World.GetOrCreateSystem(Type)
    World.GetOrCreateSystem(SystemTypeIndex)
    World.GetOrCreateSystemManaged(Type)
    World.GetOrCreateSystemManaged(SystemTypeIndex)
    World.CreateSystem<T>()
    World.CreateSystemManaged<T>()
    World.CreateSystem(Type)
    World.CreateSystem(SystemTypeIndex)
    World.CreateSystemManaged(Type)
    World.CreateSystemManaged(SystemTypeIndex)
    World.AddSystem<T>(T)
    World.AddSystemManaged<T>(T)
    World.GetExistingSystem<T>()
    World.GetExistingSystemManaged<T>()
    World.GetExistingSystem(Type)
    World.GetExistingSystem(SystemTypeIndex)
    World.GetExistingSystemManaged(Type)
    World.GetExistingSystemManaged(SystemTypeIndex)
    World.DestroySystem(SystemHandle)
    World.DestroySystemManaged(ComponentSystemBase)
    World.DestroyAllSystemsAndLogException()
    World.DestroyAllSystemsAndLogException(out bool)
    World.GetOrCreateSystemsAndLogException(NativeList<SystemTypeIndex>, AllocatorManager.AllocatorHandle)
    World.QuitUpdate
    World.UpdateAllocator
    World.CurrentGroupAllocators
    World.SetGroupAllocator(DoubleRewindableAllocators*)
    World.RestoreGroupAllocator(DoubleRewindableAllocators*)
    World.Update()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Netcode
    Assembly: Unity.NetCode.dll
    Syntax
    public class NetcodeWorld : World, IDisposable

    Implements

    IDisposable

    Extension Methods

    ClientServerWorldExtensions.IsClient(World)
    ClientServerWorldExtensions.IsHost(World)
    ClientServerWorldExtensions.IsServer(World)
    ClientServerWorldExtensions.IsThinClient(World)
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)