Make restart in NodeStateMachine / NodeTransition optional

This commit is contained in:
Silc Renew
2023-01-31 21:17:29 +09:00
parent 5bcf016f11
commit 4525181c2d
6 changed files with 53 additions and 10 deletions

View File

@@ -161,4 +161,9 @@
</description>
</method>
</methods>
<members>
<member name="allow_transition_to_self" type="bool" setter="set_allow_transition_to_self" getter="is_allow_transition_to_self" default="false">
If [code]true[/code], allows teleport to the self state with [method AnimationNodeStateMachinePlayback.travel]. When the reset option is enabled in [method AnimationNodeStateMachinePlayback.travel], the animation is restarted. If [code]false[/code], nothing happens on the teleportation to the self state.
</member>
</members>
</class>