-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ResourceListener - managed usage? #32
Comments
Well, I feel dumb. Coming back to it with fresh eyes, IResourceService has a ResourceLoaded event... I'll just let myself out here. Sorry to make you worry! |
...sadly, that didn't help very much at all. The triggering order seems to be: [C#] IResourceService.OnResourceLoaded ...and I'm after something that can tell me when LoadResource succeeds. If anything, IResourceService might be better named OnResourceRequested - it implies that the resource is ready at that point, when it's not guaranteed to be in fact. Any notes re: resource lifecycle would be appreciated! |
In C++ side there is an event called when resource is loaded. |
Cheers Alan - that does look like what I'm after in terms of the lifecycle. Will take a stab at it now! 👍 |
Hello! As per topic - I find myself in need of a resource-loaded listener in managed land, and for the life of me I can't seem to find one. The use case is, loading a game object definition file that contains game object component definitions, and then resolving and instantiating components for those definitions once the file has been loaded.
If the functionality doesn't exist yet I'll take a swing at it, but I figured I'd ask just in case.
The text was updated successfully, but these errors were encountered: