docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Field HasNoUnityObjectReferences

    Configures the TypeManager to set the component type's UnityObjectRefOffsetCount to zero.

    Namespace: Unity.Entities
    Assembly: Unity.Entities.dll
    Syntax
    public bool HasNoUnityObjectReferences
    Returns
    Type Description
    bool
    Remarks

    You can use this to bypass the TypeManager check and force the component type's reference to zero. Set to false to set the component type's UnityObjectRefOffsetCount to zero. Set to true to set the value to zero only when the component has a Unity object reference.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)