mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
fixed the visualizer. it still flickers though, and only appears on an input event
This commit is contained in:
parent
9000e3d4e0
commit
1ce230f42f
@ -17,7 +17,7 @@ namespace NewHorizons.Utility
|
|||||||
box = GetComponent<BoxShape>();
|
box = GetComponent<BoxShape>();
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnRenderImage()
|
void OnGUI()
|
||||||
{
|
{
|
||||||
Popcron.Gizmos.Cube(transform.TransformPoint(box.center), transform.rotation, box.size);
|
Popcron.Gizmos.Cube(transform.TransformPoint(box.center), transform.rotation, box.size);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user