docs.unity.cn
    Show / Hide Table of Contents

    Enum WeakReferenceGenerationType

    Enumeration of weak reference types.

    Namespace: Unity.Entities.Serialization
    Syntax
    public enum WeakReferenceGenerationType : short

    Fields

    Name Description Value
    Unknown

    Unknown generation type, this usually indicates that the UntypedWeakReferenceId has not been initialized.


    0
    UnityObject

    Reference to an object derived from Object.


    1
    Texture

    Texture asset for DOTS Runtime.


    2
    GameObjectScene

    Reference to a GameObject based scene.


    3
    EntityScene

    Reference to an Entity based scene.


    4
    EntityPrefab

    Reference to a converted prefab.


    5
    SubSceneObjectReferences

    Reference to a collection of referenced Objects from a sub scene.


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