docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NetworkVariableSByte

    A NetworkVariable that holds sbytes and support serialization

    Inheritance
    object
    NetworkVariable<sbyte>
    NetworkVariableSByte
    Implements
    INetworkVariable
    Inherited Members
    NetworkVariable<sbyte>.Settings
    NetworkVariable<sbyte>.LocalTick
    NetworkVariable<sbyte>.RemoteTick
    NetworkVariable<sbyte>.OnValueChanged
    NetworkVariable<sbyte>.Value
    NetworkVariable<sbyte>.SetDirty(bool)
    NetworkVariable<sbyte>.IsDirty()
    NetworkVariable<sbyte>.ResetDirty()
    NetworkVariable<sbyte>.CanClientRead(ulong)
    NetworkVariable<sbyte>.WriteDelta(Stream)
    NetworkVariable<sbyte>.CanClientWrite(ulong)
    NetworkVariable<sbyte>.ReadDelta(Stream, bool, ushort, ushort)
    NetworkVariable<sbyte>.SetNetworkBehaviour(NetworkBehaviour)
    NetworkVariable<sbyte>.ReadField(Stream, ushort, ushort)
    NetworkVariable<sbyte>.WriteField(Stream)
    NetworkVariable<sbyte>.GetChannel()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: MLAPI.NetworkVariable
    Assembly: Unity.Multiplayer.MLAPI.Runtime.dll
    Syntax
    [Serializable]
    public class NetworkVariableSByte : NetworkVariable<sbyte>, INetworkVariable

    Constructors

    NetworkVariableSByte()

    Creates a NetworkVariable with the default value and settings

    Declaration
    public NetworkVariableSByte()

    NetworkVariableSByte(NetworkVariableSettings)

    Creates a NetworkVariable with the default value and custom settings

    Declaration
    public NetworkVariableSByte(NetworkVariableSettings settings)
    Parameters
    Type Name Description
    NetworkVariableSettings settings

    The settings to use for the NetworkVariable

    NetworkVariableSByte(NetworkVariableSettings, sbyte)

    Creates a NetworkVariable with a custom value and custom settings

    Declaration
    public NetworkVariableSByte(NetworkVariableSettings settings, sbyte value)
    Parameters
    Type Name Description
    NetworkVariableSettings settings

    The settings to use for the NetworkVariable

    sbyte value

    The initial value to use for the NetworkVariable

    NetworkVariableSByte(sbyte)

    Creates a NetworkVariable with a custom value and the default settings

    Declaration
    public NetworkVariableSByte(sbyte value)
    Parameters
    Type Name Description
    sbyte value

    The initial value to use for the NetworkVariable

    Implements

    INetworkVariable
    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)