A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate
in the Unity community.
Discussion in 'Project Tiny' started by BaspooGameDev, Nov 16, 2020.
Help Me Pls..... How Detect Divices Mobile or Desktop in Tiny
You can use platform-specific defines to run specific code per platform
I Build Tiny to wasm platform. but i can't detect Divices on run time.
if (Application.platform == RuntimePlatform.Android)
if (SystemInfo.deviceType == DeviceType.Desktop)
You need to do
// WebGL code
// Android code