There are a way to free a loaded resource?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By JulioYagami

I loaded a scene with load function and now I don’t need it any more. There are a way to free it?

:bust_in_silhouette: Reply From: p7f

I got this from docs:

Freeing resources
Resource extends from Reference. As such, when a resource is no longer in use, it will automatically free itself. Since, in most cases, Resources are contained in Nodes, scripts or other resources, when a node is removed or freed, all the children resources are freed too.

Does it help you?