Accessing All Selected Objects in OnSceneGUI

Hi there,

I’ve got some gizmos I’ve created to change values of selected objects in the scene view.

It works exactly how I want if I use serializedObject or loop through targets, but I get errors every update telling me not to use those in OnSceneGUI.

Is there a way to update all currently selected objects, when there’s a change in OnSceneGui?

All help appreciated!

Check Selection.