You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to track both the start and completion of asset loading. While I've found an event to monitor completion, I'm struggling to find a way to detect the start. Is there an existing event or API for this? If not, how can I modify the AssetServer to include such a feature?
I've read about AssetEvent. When an asset is fully loaded the AssetEvent::LoadedWithDependencies event is emitted, but I don't fully understand what AssetEvent::Added means, is it what I am looking for?
A-ECSEntities, components, systems, and eventsA-AssetsLoad files from disk to use for things like images, models, and sounds
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I need to track both the start and completion of asset loading. While I've found an event to monitor completion, I'm struggling to find a way to detect the start. Is there an existing event or API for this? If not, how can I modify the
AssetServer
to include such a feature?I've read about AssetEvent. When an asset is fully loaded the
AssetEvent::LoadedWithDependencies
event is emitted, but I don't fully understand whatAssetEvent::Added
means, is it what I am looking for?Beta Was this translation helpful? Give feedback.
All reactions