文档

Unity Engine

Unity Engine

IsPlatformEnabled(RuntimePlatform)

Returns whether a specific platform is enabled.
阅读时间1 分钟最后更新于 1 个月前

Definition

警告
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.