- _getResources
Array _getResources()
- _setResources
void _setResources(Array arg0)
- addResource
void addResource(StringArg0 name, Resource resource)
- getResource
Ref!Resource getResource(StringArg0 name)
Return the resource given a text-id.
- getResourceList
PoolStringArray getResourceList()
Return the list of resources inside the preloader.
- hasResource
bool hasResource(StringArg0 name)
Return true if the preloader has a given resource.
- opAssign
ResourcePreloader opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(ResourcePreloader other)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
- removeResource
void removeResource(StringArg0 name)
Remove a resource from the preloader by text id.
- renameResource
void renameResource(StringArg0 name, StringArg1 newname)
Rename a resource inside the preloader, from a text-id to a new text-id.
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 be retrieved from here.