public sealed override void ReadFromBuffer(NetBuffer buffer, SyncContext context) { if (Revision < context.Revision) { value = buffer.ReadLong() - context.ConnectionTimestampOffset; Synchronised = false; } else { SkipFromBuffer(buffer); } }
public override void ReadFromBuffer(NetBuffer buffer) { value = buffer.ReadLong(); }