Class EntityManager.EntityManagerDebug | Entities | 0.3.0-preview.4
docs.unity.cn
    Show / Hide Table of Contents

    Class EntityManager.EntityManagerDebug

    Provides information and utility functions for debugging.

    Inheritance
    Object
    EntityManager.EntityManagerDebug
    Namespace: Unity.Entities
    Syntax
    public class EntityManagerDebug

    Constructors

    EntityManagerDebug(EntityManager)

    Declaration
    public EntityManagerDebug(EntityManager entityManager)
    Parameters
    Type Name Description
    EntityManager entityManager

    Properties

    EntityCount

    Declaration
    public int EntityCount { get; }
    Property Value
    Type Description
    Int32

    MemoryInitPattern

    Declaration
    public byte MemoryInitPattern { get; set; }
    Property Value
    Type Description
    Byte

    UseMemoryInitPattern

    Declaration
    public bool UseMemoryInitPattern { get; set; }
    Property Value
    Type Description
    Boolean

    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
    Type type
    Returns
    Type Description
    Object

    GetComponentBoxed(Entity, ComponentType)

    Declaration
    public object GetComponentBoxed(Entity entity, ComponentType type)
    Parameters
    Type Name Description
    Entity entity
    ComponentType type
    Returns
    Type Description
    Object

    GetEntityInfo(Entity)

    Declaration
    public string GetEntityInfo(Entity entity)
    Parameters
    Type Name Description
    Entity entity
    Returns
    Type Description
    String

    IsSharedComponentManagerEmpty()

    Declaration
    public bool IsSharedComponentManagerEmpty()
    Returns
    Type Description
    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
    Type Name Description
    EntityArchetype archetype
    Byte value

    SetGlobalSystemVersion(UInt32)

    Declaration
    public void SetGlobalSystemVersion(uint version)
    Parameters
    Type Name Description
    UInt32 version
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX