daily pastebin goal
66%
SHARE
TWEET

Untitled

a guest Feb 22nd, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top