magic-script-components
magic-script-components copied to clipboard
Implement [Spinner] particle type and missing properties
Name | Type | Default Value | Required | Description |
---|---|---|---|---|
type | string | n/a | The loading spinner type (sprite-animation or particle-package ). |
|
resourceId | number | 0 | The resource ID. | |
resourcePath | string | '' | The resource path in the resource (optional). | |
height | number | 0 |
The height of the loading spinner (optional). |
Name | Type | Default Value | Description |
---|---|---|---|
value | number | Sets a normalized value between 0-1 for loading completeness, with 0 being no progress and 1 fully complete. This is used only when the loading spinner is determinate. |
|
size | vec2 | Sets the loading spinner size. This affects the visual scale of all sprite-based loading spinners but has no affect on the visual scale of a particle-based spinner. Modify the particle files directly to adjust the particle effect size. This does affect, and should be used to adjust, the bounds of all loading spinners. |