Particles Tag

From PowerUI
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