Corrections, unstub |
get rid of component stub |
||
Line 31: | Line 31: | ||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|AssetLoadStatus (Component){{#translation:}}]] | [[Category:Components{{#translation:}}|AssetLoadStatus (Component){{#translation:}}]] | ||
[[Category:Components:World:Loading{{#translation:}}|AssetLoadStatus (Component){{#translation:}}]] | [[Category:Components:World:Loading{{#translation:}}|AssetLoadStatus (Component){{#translation:}}]] |
Revision as of 15:55, 14 February 2024
Component image
Introduction
This is a component that tracks the load status of a list of assets locally.
Usage
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. |
Assets
|
IAsset`1 | List of assets that the component should listen to for loading status |
IsLoaded
|
Bool | Are all the assets in Assets list loaded? |
LoadProgress
|
Float | The ratio of "how many assets are loaded" to the total asset count. |
ProgressWeight
|
Float | The total count of assets in Assets .
|
Behavior
This component returns a ratio of how many of the given assets are actually loaded.