Difference between revisions of "Particles Tag"
From PowerUI
(Created page with "The particles tag is a custom HTML tag which places an ordinary Shuriken particle system on your UI. It is affected by the particles-scale and particles-rotate CSS properties....") |
|||
Line 1: | Line 1: | ||
− | The particles tag is a custom HTML tag which places an ordinary Shuriken particle system on your UI. It is affected by the particles-scale and particles-rotate CSS properties. | + | The particles tag is a custom HTML tag which places an ordinary Shuriken particle system on your UI. It is affected by the [[particles-scale]] and [[particles-rotate]] CSS properties. |
<syntaxhighlight> | <syntaxhighlight> |
Revision as of 20:58, 13 January 2017
The particles tag is a custom HTML tag which places an ordinary Shuriken particle system on your UI. It is affected by the particles-scale and particles-rotate CSS properties.
<!-- They can be 'adopted' from the scene -->
<particles path='Particles/My Particle System'/>
<!-- Or created from a prefab -->
<particles src='Particles/myParticlePrefab'/>
(Use one or the other):
Attribute name | Optional | What it's for | Default value | Possible values |
---|---|---|---|---|
path | yes | The path in the hierarchy to the particle system | none | A hierarchy path. |
src | yes | Essentially a resources:// URL - a path in Resources to a particle system prefab. | none | A URI |