Skip to content

Platform

The Platform class describes the platform on which the game is running. Use this class if you need to perform platform-specific tasks.

静态变量

Platform.isMobilePlatform : boolean
Whether it is a mobile platform.