[Feature Request] Make resource loader generic
See original GitHub issueCurrently I need to manually cast the type like this:
val scene: PackedScene = ResourceLoader.load("res:/xxx.tscn") as PackedScene?
Would be cool to have it like this:
val scene: PackedScene = ResourceLoader.load("res:/xxx.tscn")
// or
val scene = ResourceLoader.load<PackedScene>("res:/xxx.tscn")
Currently C# has it in a generic way
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
englercj/resource-loader: A middleware-style generic ... - GitHub
A generic resource loader, made with web games in mind. Philosophy. This library was built to make it easier to load and prepare...
Read more >How to incorporate private customer needs into a public ...
Provide only generic details on the customer with a link to internal confidential information, but provide as much detail as possible regarding ...
Read more >107006 - Feature request: ability to replay a previously made ...
My use case is to replay a GET or POST request including all headers and form data. Naturally, the next step is a...
Read more >Java Treeview / Feature Requests / #22 autoscan for plugins
http://www.developer.com/java/other/article.php/2248831. It turns out that there's a sourceforge project to make a generic plugin loader:.
Read more >Configure Generic API Loader - Knowledge Center - Zuora
The Generic API Loader application uses the Zuora APIs of Create, Update, ... in combination with CSV templates to perform mass requests.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I find this a good idea. It would be consistent then.
We can do a similar operation like with
getNodeAs
. We can addAs
suffix as an extension function.