mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-25 06:35:45 +00:00
12 lines
349 B
C#
12 lines
349 B
C#
using QuantumUNET.Transport;
|
|
using UnityEngine;
|
|
|
|
namespace QSB.Utility.VariableSync
|
|
{
|
|
public class Vector3VariableSyncer : BaseVariableSyncer<Vector3>
|
|
{
|
|
protected override void WriteValue(QNetworkWriter writer, Vector3 value) => writer.Write(value);
|
|
protected override Vector3 ReadValue(QNetworkReader reader) => reader.ReadVector3();
|
|
}
|
|
}
|