This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## A wrapper around AnimationTree to add a more intuitive API | |
| class_name AnimationTreePlus extends AnimationTree | |
| var _param_cache: Dictionary = {} | |
| func _ready() -> void: | |
| _scan_parameters() | |
| ## Scans the AnimationTree's properties and populates the parameter cache. | |
| ## This is called automatically in _ready(), but can be called again if parameters are changed at runtime. |