Advertisement
Hyluss

[Unity] Detect ios and android

Apr 21st, 2018
172
0
Never
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
Add Comment
Please, Sign In to add comment
Advertisement