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.
Implements
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(SystemTypeIndex)
World.GetOrCreateSystemManaged(SystemTypeIndex)
World.CreateSystem<T>()
World.CreateSystemManaged<T>()
World.CreateSystem(SystemTypeIndex)
World.CreateSystemManaged(SystemTypeIndex)
World.AddSystem<T>(T)
World.AddSystemManaged<T>(T)
World.GetExistingSystem<T>()
World.GetExistingSystemManaged<T>()
World.GetExistingSystem(SystemTypeIndex)
World.GetExistingSystemManaged(SystemTypeIndex)
World.DestroySystem(SystemHandle)
World.DestroySystemManaged(ComponentSystemBase)
World.DestroyAllSystemsAndLogException()
World.GetOrCreateSystemsAndLogException(NativeList<SystemTypeIndex>, AllocatorManager.AllocatorHandle)
World.QuitUpdate
World.UpdateAllocator
World.CurrentGroupAllocators
World.SetGroupAllocator(DoubleRewindableAllocators*)
World.RestoreGroupAllocator(DoubleRewindableAllocators*)
World.Update()
Namespace: Unity.Netcode
Assembly: Unity.NetCode.dll
Syntax
public class NetcodeWorld : World, IDisposable