Calling a static function just before the editor plays
Hi all,
I'm looking to get a function called just before the game starts playing in the editor, this is mostly so I can do some basic automation of some clean up scripts and list building.
I've come across a few attributes that are called just after the game starts playing (such as 'PostProcessSceneAttribute') but I would like for these changes to be saved so it would be ideal for it to be called before play starts.
Thanks for any help.
Your answer
Follow this Question
Related Questions
HelpUrlAttribute doesn't seem to be working 0 Answers
How to see variables of child class with custom editor 0 Answers
activeInHierarchy code not being reflected correctly in Editor although debugging shows correct code 1 Answer
Set UnityEditor.Tools.handlePosition 0 Answers
Unity Editor - Group Public GameObjects 0 Answers