Class EntityManager.EntityManagerDebug
Provides information and utility functions for debugging.
Inheritance
EntityManager.EntityManagerDebug
Syntax
public class EntityManagerDebug
Constructors
EntityManagerDebug(EntityManager)
Declaration
public EntityManagerDebug(EntityManager entityManager)
Parameters
Properties
EntityCount
Declaration
public int EntityCount { get; }
Property Value
MemoryInitPattern
Declaration
public byte MemoryInitPattern { get; set; }
Property Value
UseMemoryInitPattern
Declaration
public bool UseMemoryInitPattern { get; set; }
Property Value
Methods
CheckInternalConsistency()
Declaration
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
public void CheckInternalConsistency()
GetComponentBoxed(Entity, Type)
Declaration
public object GetComponentBoxed(Entity entity, Type type)
Parameters
Returns
GetComponentBoxed(Entity, ComponentType)
Declaration
public object GetComponentBoxed(Entity entity, ComponentType type)
Parameters
Returns
GetEntityInfo(Entity)
Declaration
public string GetEntityInfo(Entity entity)
Parameters
Type |
Name |
Description |
Entity |
entity |
|
Returns
IsSharedComponentManagerEmpty()
Declaration
public bool IsSharedComponentManagerEmpty()
Returns
LogEntityInfo(Entity)
Declaration
public void LogEntityInfo(Entity entity)
Parameters
Type |
Name |
Description |
Entity |
entity |
|
PoisonUnusedDataInAllChunks(EntityArchetype, Byte)
Declaration
public void PoisonUnusedDataInAllChunks(EntityArchetype archetype, byte value)
Parameters
SetGlobalSystemVersion(UInt32)
Declaration
public void SetGlobalSystemVersion(uint version)
Parameters
Type |
Name |
Description |
UInt32 |
version |
|