NetworkTransform: show Gizmos as WriteCube instead of solid Cube for easier visual debugging

This commit is contained in:
mischa 2023-06-13 12:55:00 +08:00
parent f72d35987a
commit e5be10ff71

View File

@ -396,7 +396,7 @@ protected virtual void DrawGizmos(SortedList<double, TransformSnapshot> buffer)
TransformSnapshot entry = buffer.Values[i];
bool oldEnough = entry.localTime <= threshold;
Gizmos.color = oldEnough ? oldEnoughColor : notOldEnoughColor;
Gizmos.DrawCube(entry.position, Vector3.one);
Gizmos.DrawWireCube(entry.position, Vector3.one);
}
// extra: lines between start<->position<->goal