GDScript: Remove unused unload_static

This commit is contained in:
HolonProduction 2026-01-07 15:39:34 +01:00
parent f0aeea26fb
commit 6e49e01711
2 changed files with 0 additions and 6 deletions

View file

@ -927,10 +927,6 @@ const Variant GDScript::get_rpc_config() const {
return rpc_config;
}
void GDScript::unload_static() const {
GDScriptCache::remove_script(fully_qualified_name);
}
Variant GDScript::callp(const StringName &p_method, const Variant **p_args, int p_argcount, Callable::CallError &r_error) {
GDScript *top = this;
while (top) {

View file

@ -347,8 +347,6 @@ public:
virtual const Variant get_rpc_config() const override;
void unload_static() const;
#ifdef TOOLS_ENABLED
virtual bool is_placeholder_fallback_enabled() const override { return placeholder_fallback_enabled; }
#endif