Manual/RunningEditorCodeOnLaunch #123
Replies: 1 comment
-
Comment by RobD6: Note that static constructors will be called again every time the code is compiled, and any static data will be lost. If you need to store data that persists across compilations, consider using EditorPrefs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Manual/RunningEditorCodeOnLaunch
https://docs.unity3d.com/Manual/RunningEditorCodeOnLaunch.html
Beta Was this translation helpful? Give feedback.
All reactions