Resource Preloader Node.
This node is used to preload sub-resources inside a scene, so when the scene is loaded, all the resources are ready to use and can be retrieved from the preloader.
GDScript has a simplified [method @GDScript.preload] built-in method which can be used in most situations, leaving the use of [ResourcePreloader] for more advanced scenarios.
Adds a resource to the preloader with the given [param name]. If a resource with the given [param name] already exists, the new resource will be renamed to "[param name] N" where N is an incrementing number starting from 2.
Returns the resource associated to [param name].
Returns the list of resources inside the preloader.
Returns [code]true[/code] if the preloader contains a resource associated to [param name].
Removes the resource associated to [param name] from the preloader.
Renames a resource inside the preloader from [param name] to [param newname].