SHARE
TWEET

Unity3d Start() with iPhone and Android

a guest May 11th, 2016 13 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #if UNITY_ANDROID
  2. IEnumerator Start()
  3. {
  4.     yield return new WaitForSeconds(4f);
  5.     Application.LoadLevel("Menu");
  6. }
  7. #endif
  8.  
  9. #if UNITY_IPHONE
  10. void Start()
  11. {
  12.     yield return new WaitForSeconds(4f);
  13.     Application.LoadLevel("Menu");
  14. }
  15. #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