tank syncinterval=0.5 WORKS

This commit is contained in:
mischa 2024-09-02 19:32:35 +02:00
parent 9d61555819
commit 0c42ace529
2 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ protected virtual void Configure()
// both always need to be on the same send interval. // both always need to be on the same send interval.
// force the setting to '0' in OnValidate to make it obvious that we // force the setting to '0' in OnValidate to make it obvious that we
// actually use NetworkServer.sendInterval. // actually use NetworkServer.sendInterval.
syncInterval = 0; // syncInterval = 0;
// Unity doesn't support setting world scale. // Unity doesn't support setting world scale.
// OnValidate force disables syncScale in world mode. // OnValidate force disables syncScale in world mode.

View File

@ -68,7 +68,7 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
syncDirection: 1 syncDirection: 1
syncMode: 0 syncMode: 0
syncInterval: 0 syncInterval: 0.5
target: {fileID: 4492442352427800} target: {fileID: 4492442352427800}
syncPosition: 1 syncPosition: 1
syncRotation: 1 syncRotation: 1