Class EntityManager.EntityManagerDebug | Entities | 0.10.0-preview.6
docs.unity3d.com
    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
    In This Article
    • Constructors
      • EntityManagerDebug(EntityManager)
    • Properties
      • EntityCount
      • MemoryInitPattern
      • UseMemoryInitPattern
    • Methods
      • CheckInternalConsistency()
      • GetComponentBoxed(Entity, Type)
      • GetComponentBoxed(Entity, ComponentType)
      • GetEntityInfo(Entity)
      • IsSharedComponentManagerEmpty()
      • LogEntityInfo(Entity)
      • PoisonUnusedDataInAllChunks(EntityArchetype, Byte)
      • SetGlobalSystemVersion(UInt32)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023