docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NetworkVariableBaseHelper

    The BaseNetworkVariableHelper keeps track of: The number of instances and associates the instance with the NetworkVariable The number of times a specific NetworkVariable instance had its value changed (i.e. !Equal) Note: This could be expanded for future tests focuses around NetworkVariables

    Inheritance
    object
    NetworkVariableBaseHelper
    NetworkVariableHelper<T>
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Netcode.TestHelpers.Runtime
    Assembly: solution.dll
    Syntax
    public class NetworkVariableBaseHelper

    Constructors

    Name Description
    NetworkVariableBaseHelper(NetworkVariableBase)

    Properties

    Name Description
    InstanceCount

    Returns the total number of registered INetworkVariables

    VarChangedCount

    Returns total number of changes that occurred for all registered INetworkVariables

    Methods

    Name Description
    ValueChanged()

    Called by the child class NetworkVariableHelper when a value changed

    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)