docs.unity.cn
    Show / Hide Table of Contents

    Enum GhostPrefabCreation.ComponentOverrideType

    Identifier for a type of modifier, the types can be combined using "or" and serves as a mask.

    Namespace: Unity.NetCode
    Syntax
    [Flags]
    public enum ComponentOverrideType

    Fields

    Name Description Value
    None

    No overrides present.


    0
    PrefabType

    Overrides the type of prefab the component should be present.


    1
    SendMask

    Overrides to which type of client the componet is replicated


    2
    Variant

    Specify the component GhostComponentVariationAttribute to use for serialization.


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