From 1ce230f42f3608ff47c6471d36b29f07846e4d8c Mon Sep 17 00:00:00 2001 From: FreezeDriedMangoes Date: Fri, 17 Jun 2022 10:46:43 -0400 Subject: [PATCH] fixed the visualizer. it still flickers though, and only appears on an input event --- NewHorizons/Utility/BoxShapeVisualizer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NewHorizons/Utility/BoxShapeVisualizer.cs b/NewHorizons/Utility/BoxShapeVisualizer.cs index 96d8005f..eb881b7b 100644 --- a/NewHorizons/Utility/BoxShapeVisualizer.cs +++ b/NewHorizons/Utility/BoxShapeVisualizer.cs @@ -17,7 +17,7 @@ namespace NewHorizons.Utility box = GetComponent(); } - void OnRenderImage() + void OnGUI() { Popcron.Gizmos.Cube(transform.TransformPoint(box.center), transform.rotation, box.size); }