mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
start gizmo
This commit is contained in:
parent
92ce7beb5d
commit
adfb30a6d2
@ -437,6 +437,12 @@ private void OnDrawGizmos()
|
||||
// show the latest blending end position guess
|
||||
if (state == ForecastState.BLENDING)
|
||||
{
|
||||
// show blending start position.
|
||||
// helps debug the initial jump from prediction to blending.
|
||||
Gizmos.color = predictingColor;
|
||||
Gizmos.DrawWireCube(predictionEndPosition, bounds.size);
|
||||
|
||||
// show current estimate
|
||||
if (followingStartPositionEstimate.HasValue)
|
||||
{
|
||||
Gizmos.color = blendingGuessColor;
|
||||
|
Loading…
Reference in New Issue
Block a user