mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Merge pull request #9980 from HolonProduction/editable-clearup
Clearify behaviour of `@export` in combination with setters
This commit is contained in:
@@ -53,6 +53,10 @@ Resources and nodes can be exported.
|
|||||||
@export var resource: Resource
|
@export var resource: Resource
|
||||||
@export var node: Node
|
@export var node: Node
|
||||||
|
|
||||||
|
Even if a script is not executed in the editor, exported properties
|
||||||
|
can still be edited. However, getters and setters will only be used
|
||||||
|
if the script is in :ref:`doc_gdscript_tool_mode`.
|
||||||
|
|
||||||
Grouping exports
|
Grouping exports
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
@@ -297,10 +301,6 @@ Therefore, if you specify an extension of Resource such as:
|
|||||||
The drop-down menu will be limited to AnimationNode and all
|
The drop-down menu will be limited to AnimationNode and all
|
||||||
its derived classes.
|
its derived classes.
|
||||||
|
|
||||||
It must be noted that even if the script is not being run while in the
|
|
||||||
editor, the exported properties are still editable. This can be used
|
|
||||||
in conjunction with a :ref:`script in "tool" mode <doc_gdscript_tool_mode>`.
|
|
||||||
|
|
||||||
.. _doc_gdscript_exports_exporting_bit_flags:
|
.. _doc_gdscript_exports_exporting_bit_flags:
|
||||||
|
|
||||||
Exporting bit flags
|
Exporting bit flags
|
||||||
|
|||||||
Reference in New Issue
Block a user