- Home /
Editor Script: How to run a function when scene first loads?
I would like to have a portion of my Editor Script run right away when the scene is loaded, not just when Unity starts- but each time new scene is loaded. It seems this should be obvious...but I've been digging through the reference, here, the forums, no luck so far.
Thanks very much!
unfortunatly function Start() does not work in an editor script, only in runtime scripts. Thanks though :)
Answer by Noah-1 · May 05, 2012 at 09:57 PM
I think you mean an extension of Unity, look up here:
Extending the editor
Greetings.
Your answer
![](https://koobas.hobune.stream/wayback/20220613071130im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Make persistent background thread in Editor 1 Answer
Custom cursor under text button 0 Answers
Function deleting string by itself. 0 Answers
SceneManager.LoadSceneAsync freeze loading scene in editor. 0 Answers
Endless loading error 0 Answers