summaryrefslogtreecommitdiffstats
path: root/core/object
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-11-22 14:54:30 -0600
committerThaddeus Crews <repiteo@outlook.com>2024-11-22 14:54:30 -0600
commit37305e40bcec774ad8d0948589f46f9f02be8c23 (patch)
treee05a99a386eb4a6a0cac19b8f9bdff35951a0935 /core/object
parentdcb59f0e7efffa97570147817177188298c6b08b (diff)
parent761a20f7a720864af1c43747f5ac31b9915d04e3 (diff)
downloadredot-engine-37305e40bcec774ad8d0948589f46f9f02be8c23.tar.gz
Merge pull request #95711 from TokageItLab/warn-oneshot-prop
Add hint for oneshot property & warning when it will be updated continuously by Force Continuous in `AnimationMixer`
Diffstat (limited to 'core/object')
-rw-r--r--core/object/object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/object/object.h b/core/object/object.h
index 8f93b75bd8..11b94a7fbf 100644
--- a/core/object/object.h
+++ b/core/object/object.h
@@ -88,6 +88,7 @@ enum PropertyHint {
PROPERTY_HINT_LAYERS_AVOIDANCE,
PROPERTY_HINT_DICTIONARY_TYPE,
PROPERTY_HINT_TOOL_BUTTON,
+ PROPERTY_HINT_ONESHOT, ///< the property will be changed by self after setting, such as AudioStreamPlayer.playing, Particles.emitting.
PROPERTY_HINT_MAX,
};