Class UShortSyncVar
Implements features specific for a typed SyncVar.
Inheritance
System.Object
FishNet.Object.Synchronizing.Internal.SyncBase
FishNet.Object.Synchronizing.SyncVar<System.UInt16>
UShortSyncVar
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FishNet.Object.Synchronizing
Assembly: FishNet.Runtime.dll
Syntax
[Serializable]
public class UShortSyncVar : SyncVar<ushort>, ISyncVar, ICustomSync
Methods
GetSerializedType()
Declaration
public object GetSerializedType()
Returns
Type | Description |
---|---|
System.Object |
Interpolate(UInt16, UInt16, Single)
Declaration
protected override ushort Interpolate(ushort previous, ushort current, float percent)
Parameters
Type | Name | Description |
---|---|---|
System.UInt16 | previous | |
System.UInt16 | current | |
System.Single | percent |
Returns
Type | Description |
---|---|
System.UInt16 |
Overrides
FishNet.Object.Synchronizing.SyncVar<System.UInt16>.Interpolate(System.UInt16, System.UInt16, System.Single)