docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct NetworkVariableUpdateTraits

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Netcode
    Assembly: Unity.Netcode.Runtime.dll
    Syntax
    public struct NetworkVariableUpdateTraits

    Fields

    MaxSecondsBetweenUpdates

    Declaration
    [Tooltip("The maximum amount of time that a variable can be dirty without sending an update. If this amount of time has passed since the last update, an update will be sent even if the dirtiness threshold has not been met.")]
    public float MaxSecondsBetweenUpdates
    Field Value
    Type Description
    float

    MinSecondsBetweenUpdates

    Declaration
    [Tooltip("The minimum amount of time that must pass between sending updates. If this amount of time has not passed since the last update, dirtiness will be ignored.")]
    public float MinSecondsBetweenUpdates
    Field Value
    Type Description
    float
    In This Article
    Back to top
    Copyright © 2024 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)