Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
EditorExportPlatform¶
Inherits: RefCounted < Object
Inherited By: EditorExportPlatformAndroid, EditorExportPlatformIOS, EditorExportPlatformMacOS, EditorExportPlatformPC, EditorExportPlatformWeb
Identifies a supported export platform, and internally provides the functionality of exporting to that platform.
描述¶
Base resource that provides the functionality of exporting a release build of a project to a platform, from the editor. Stores platform-specific metadata such as the name and supported features of the platform, and performs the exporting of projects, PCK files, and ZIP files. Uses an export template for the platform provided at the time of project exporting.
Used in scripting by EditorExportPlugin to configure platform-specific customization of scenes and resources. See EditorExportPlugin._begin_customize_scenes and EditorExportPlugin._begin_customize_resources for more details.
教程¶
Methods¶
get_os_name ( ) const |
Method Descriptions¶
String get_os_name ( ) const
Returns the name of the export operating system handled by this EditorExportPlatform class, as a friendly string. Possible return values are Windows
, Linux
, macOS
, Android
, iOS
, and Web
.