update comment

This commit is contained in:
mischa 2024-09-04 10:14:24 +02:00
parent 7966d60812
commit 18fadbf15b

View File

@ -67,10 +67,8 @@ public abstract class NetworkTransformBase : NetworkBehaviour
[Tooltip("Local by default. World may be better when changing hierarchy, or non-NetworkTransforms root position/rotation/scale values.")] [Tooltip("Local by default. World may be better when changing hierarchy, or non-NetworkTransforms root position/rotation/scale values.")]
public CoordinateSpace coordinateSpace = CoordinateSpace.Local; public CoordinateSpace coordinateSpace = CoordinateSpace.Local;
// TODO sendIntervalMultiplier was replaced by syncInterval for consistency with other NetworkBehaviours. // convert syncInterval to sendIntervalMultiplier.
// for now, we simply calculate the multiplier based on syncInterval. // in the future this can be moved into core to support tick aligned Sync,
// in a future, we can remove this completely and replace with syncInterval math everywhere.
// the multiplier math isn't that simple, so for now this is a good solution!
public uint sendIntervalMultiplier public uint sendIntervalMultiplier
{ {
get get