docs.unity.cn
    Show / Hide Table of Contents

    Method GetEnabled

    GetEnabled(Entity)

    Obsolete. Use IsEnabled(Entity) instead.

    Declaration
    [Obsolete("This function has been renamed to IsEnabled().  (RemovedAfter Entities 1.0) (UnityUpgradable) -> IsEnabled(*)", false)]
    public bool GetEnabled(Entity entity)
    Parameters
    Type Name Description
    Entity entity

    The entity to check

    Returns
    Type Description
    Boolean

    True if the target entity does not have Disabled tag component, or false if it does.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023