docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct GhostPrefabCreation.ComponentOverride

    A modifier for a specific component on a specific child entity. Only the override types specified by the OverrideType are applied, the others are ignored.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.NetCode
    Assembly: Unity.NetCode.dll
    Syntax
    public struct GhostPrefabCreation.ComponentOverride

    Fields

    OverrideType

    The property we are overriding.

    Declaration
    public GhostPrefabCreation.ComponentOverrideType OverrideType
    Field Value
    Type Description
    GhostPrefabCreation.ComponentOverrideType

    PrefabType

    The prefab type to use if the OverrideType is PrefabType.

    Declaration
    public GhostPrefabType PrefabType
    Field Value
    Type Description
    GhostPrefabType

    SendMask

    The new send mask to use for the component.

    Declaration
    public GhostSendType SendMask
    Field Value
    Type Description
    GhostSendType

    Variant

    The hash of the variant to use for the component. Setting to 0 means force using the default.

    Declaration
    public ulong Variant
    Field Value
    Type Description
    ulong
    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)