docs.unity3d.com
    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.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.NetCode
    Syntax
    public struct 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
    UInt64
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023