I need two methods in a class to execute in edit mode to grab an object reference (so I don’t have to play the drag and drop game). So I made a small class inside the same script that does what I want and set [ExecuteInEditMode] on it. However it does not seem to actually execute, only the class with the same name as the script executes.
Is there a way to accomplish this without having to add another component to my game object for a measly 7 lines of code?