mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Replace XML codeblock spaces with tabs
This commit is contained in:
@@ -202,20 +202,20 @@
|
||||
Return a [Dictionary] of override values for export options, that will be used instead of user-provided values. Overridden options will be hidden from the user interface.
|
||||
[codeblock]
|
||||
class MyExportPlugin extends EditorExportPlugin:
|
||||
func _get_name() -> String:
|
||||
return "MyExportPlugin"
|
||||
func _get_name() -> String:
|
||||
return "MyExportPlugin"
|
||||
|
||||
func _supports_platform(platform) -> bool:
|
||||
if platform is EditorExportPlatformPC:
|
||||
# Run on all desktop platforms including Windows, MacOS and Linux.
|
||||
return true
|
||||
return false
|
||||
func _supports_platform(platform) -> bool:
|
||||
if platform is EditorExportPlatformPC:
|
||||
# Run on all desktop platforms including Windows, MacOS and Linux.
|
||||
return true
|
||||
return false
|
||||
|
||||
func _get_export_options_overrides(platform) -> Dictionary:
|
||||
# Override "Embed PCK" to always be enabled.
|
||||
return {
|
||||
"binary_format/embed_pck": true,
|
||||
}
|
||||
func _get_export_options_overrides(platform) -> Dictionary:
|
||||
# Override "Embed PCK" to always be enabled.
|
||||
return {
|
||||
"binary_format/embed_pck": true,
|
||||
}
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
|
||||
Reference in New Issue
Block a user