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