summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_codegen.h
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2023-03-02 20:37:02 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2023-04-29 10:51:00 +0800
commitd24ee551ecb09209ead942a00e88ea42b66b15be (patch)
treec683dfae43f80473b1a1ce0e6c833540384bcabf /modules/gdscript/gdscript_codegen.h
parent9f12e7b52d944281a39b7d3a33de6700c76cc23a (diff)
downloadredot-engine-d24ee551ecb09209ead942a00e88ea42b66b15be.tar.gz
Allow EditorInspector to change its property name style when necessary
Previously, an EditorInspector's property name can only be set from outside. Inspectors used for settings needs to respond to changes in editor settings. So a few boilerplate code is almost always needed, including watching for a certain editor setting in `_notification()`. This commit adds a `set_use_settings_style()` function to tell the inspector to watch for editor settings changes on its own.
Diffstat (limited to 'modules/gdscript/gdscript_codegen.h')
0 files changed, 0 insertions, 0 deletions