ResourcePreloaderAddResource Method |
Adds a resource to the preloader with the given name. If a resource with the given name already exists, the new resource will be renamed to "name N" where N is an incrementing number starting from 2.
Namespace: Godot
public void AddResource( string name, Resource resource )
[Missing <param name="name"/> documentation for "M:Godot.ResourcePreloader.AddResource(System.String,Godot.Resource)"]
[Missing <param name="resource"/> documentation for "M:Godot.ResourcePreloader.AddResource(System.String,Godot.Resource)"]