LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

Application.isMobilePlatform

public static bool isMobilePlatform;

Description

Is the current Runtime platform a known mobile platform.

Note: On Universal Windows Platform this property returns true only when running on phone and IoT device family devices.