0 votes

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

asked Dec 7, 2018 in Engine by JulioYagami (329 points)

1 Answer

0 votes
Best answer

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?

answered Dec 7, 2018 by p7f (1,864 points)
selected Dec 7, 2018 by JulioYagami
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.