Hyluss

[Unity] Detect ios and android

Apr 21st, 2018
370
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.20 KB | None | 0 0
  1.       if (Application.platform == RuntimePlatform.Android)
  2.                 print("Android");
  3.             else if (Application.platform == RuntimePlatform.IPhonePlayer)
  4.                 print("zlom");
Advertisement
Comments
  • User was banned
Add Comment
Please, Sign In to add comment