Class ShortSyncVar
Implements features specific for a typed SyncVar.
Inheritance
System.Object
FishNet.Object.Synchronizing.Internal.SyncBase
FishNet.Object.Synchronizing.SyncVar<System.Int16>
ShortSyncVar
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 ShortSyncVar : SyncVar<short>, ISyncVar, ICustomSync
Methods
GetSerializedType()
Declaration
public object GetSerializedType()
Returns
Type | Description |
---|---|
System.Object |
Interpolate(Int16, Int16, Single)
Declaration
protected override short Interpolate(short previous, short current, float percent)
Parameters
Type | Name | Description |
---|---|---|
System.Int16 | previous | |
System.Int16 | current | |
System.Single | percent |
Returns
Type | Description |
---|---|
System.Int16 |
Overrides
FishNet.Object.Synchronizing.SyncVar<System.Int16>.Interpolate(System.Int16, System.Int16, System.Single)