文档

Unity Engine


User Manual

Script Reference

Unity Engine


IsPlatformEnabled(RuntimePlatform)

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

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.