I have a method in my editor script:
[DrawGizmo(GizmoType.Selected | GizmoType.Active)]
static void DrawGizmos(Orbit orbit, GizmoType gizmoType)
But it doesn’t get called when I change a variable in the inspector, until I move my mouse over the game view and wait a second.
Is there an efficient way to make sure the method is called every time a variable is changed?