mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkTransform: show Gizmos as WriteCube instead of solid Cube for easier visual debugging
This commit is contained in:
parent
f72d35987a
commit
e5be10ff71
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user