This commit is contained in:
in0finite 2022-05-01 07:08:21 +02:00
parent 3b89d15e4c
commit 4bbe62b90e
2 changed files with 0 additions and 15 deletions

View file

@ -21,11 +21,6 @@ namespace SanAndreasUnity.Net
m_transformSyncer = new TransformSyncer(m_transformToSync, m_transformSyncParameters, this);
}
public override void OnStartClient()
{
m_transformSyncer.OnStartClient();
}
public override bool OnSerialize(NetworkWriter writer, bool initialState)
{
return m_transformSyncer.OnSerialize(writer, initialState);

View file

@ -84,16 +84,6 @@ namespace SanAndreasUnity.Net
m_hasRigidBody = m_rigidbody != null;
}
public void OnStartClient()
{
if (NetUtils.IsServer)
return;
// apply initial sync data
// first sync should've been done before calling this function, so the data is available
}
public bool OnSerialize(NetworkWriter writer, bool initialState)
{
byte flags = 0;