Particles Tag

From PowerUI
Revision as of 20:57, 13 January 2017 by 151.229.186.156 (talk) (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....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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