summaryrefslogtreecommitdiff
path: root/scene/resources/animation_library.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/animation_library.h')
-rw-r--r--scene/resources/animation_library.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/resources/animation_library.h b/scene/resources/animation_library.h
index 69ac5a97d2..0f327fb072 100644
--- a/scene/resources/animation_library.h
+++ b/scene/resources/animation_library.h
@@ -49,6 +49,9 @@ protected:
static void _bind_methods();
public:
+ static bool is_valid_name(const String &p_name);
+ static String validate_name(const String &p_name);
+
Error add_animation(const StringName &p_name, const Ref<Animation> &p_animation);
void remove_animation(const StringName &p_name);
void rename_animation(const StringName &p_name, const StringName &p_new_name);