Guest User

Untitled

a guest
Feb 22nd, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. #if UNITY_EDITOR
  2. if (!EditorApplication.isPlayingOrWillChangePlaymode)
  3. {
  4. // time intensive code you don’t want executed when entering play mode
  5. }
  6. #endif
Add Comment
Please, Sign In to add comment