Documentation

Unity Engine

Unity Engine

IsPlatformEnabled(RuntimePlatform)

Returns whether a specific platform is enabled.
Read time 1 minuteLast updated 2 months 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.