Class EntityManager.EntityManagerDebug
Provides information and utility functions for debugging.
Inheritance
System.Object
EntityManager.EntityManagerDebug
Syntax
public class EntityManagerDebug
Constructors
EntityManagerDebug(EntityManager)
Declaration
public EntityManagerDebug(EntityManager entityManager)
Parameters
Properties
EntityCount
Declaration
public int EntityCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
CheckInternalConsistency()
Declaration
[Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")]
public void CheckInternalConsistency()
GetComponentBoxed(Entity, Type)
Declaration
public object GetComponentBoxed(Entity entity, Type type)
Parameters
Type |
Name |
Description |
Entity |
entity |
|
System.Type |
type |
|
Returns
Type |
Description |
System.Object |
|
GetComponentBoxed(Entity, ComponentType)
Declaration
public object GetComponentBoxed(Entity entity, ComponentType type)
Parameters
Returns
Type |
Description |
System.Object |
|
GetEntityInfo(Entity)
Declaration
public string GetEntityInfo(Entity entity)
Parameters
Type |
Name |
Description |
Entity |
entity |
|
Returns
Type |
Description |
System.String |
|
IsSharedComponentManagerEmpty()
Declaration
public bool IsSharedComponentManagerEmpty()
Returns
Type |
Description |
System.Boolean |
|
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 |
System.UInt32 |
version |
|