I know I’ve used this before - a class attribute which enables the MonoBehaviour to run in the editor, with Update being called and all. However I cannot for the life of me remember the name of the attribute or find it anywhere. Am I growing crazy(er) here?
I always forget what it’s called too.
Thanks! No wonder I forgot its name! How about a simple “RunInEditor”? That was my first assumption.
It doesn’t even have “editor” in the name. No wonder it didn’t show up on my searches which all involved “run” or “editor”.
Mine, too I often search for “run in editor” finding this posting. Unnatural name indeed.
I don’t think the name is unnatural, as “runineditor” wouldn’t be precise.
run in editor in play mode? run in editor in edit mode?
The “Execute” part is naturally discussable, but as a regular programming term I don’t see a problem there. Its technically more accurate as it is “to execute code” not “to run code” (as code has no legs and can’t run. only applications can be run)
I blame AngryAnt for making me always think of RunInEditor! But at least google leads me here, haha.
;D