Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsPlatformEnabled(RuntimePlatform)

Returns whether a specific platform is enabled.
Read time 1 minuteLast updated a month ago

Definition

Warning
Deprecated. No longer supported and will always return true
public static bool IsPlatformEnabled(RuntimePlatform platform)

Parameters

The platform to check.

Returns

Type

Description

boolBoolean for the platform.