I am attempting to draw gizmos for easy debug in the editor. The gizmos code uses an array that gets populated during the start function. The array only needs to be populated once and may cause issues if its modified during runtime. As such, I cant call the method to populate the array in the
I could possibly use a singleton populate the array but that would require many other things to be changed as well. I am looking for an equivalent to
Start() for when it is in Editor Mode. Is there a method in editor mode that execute once or an attribute for the
Start() method to execute in editor mode?