[SerializableAttribute] public sealed class Particles : MonoBehaviour
Thetype exposes the following members.
The Galaxy Component of the parent. The Particles component is attached to children objects added to the Main Game Object with the Galaxy component. The Children objects are hidden from the Unity's inspector.
The Galaxy Prefab
All the Particle meshes. Multiple meshes can be generated because of Unity's mesh vertex cap.
Shows if the Particles Prefab has changed. And the particles need to be rebuilt.
Shows if the articles Prefab has changed. And the particles need to be updated.
The Overlay Color of the Particles. This color will be multiplied with the overlay color of the Particle Prefab
The list of Particles
The Particles Prefab
The render bounds of the galaxy. This could be generated by the meshes of GPU particles or Unity's Particle system if CPU particles are implemented.
The list of Game object renderers. These are the Game objects that have mesh renderers attached to them. They are used when in-game to render particle meshes more efficiently.
The Time of the particles. Used manly for animations.
Destroys all particle meshes and all renderers as well as the Game Object the component is attached to.
Queues the particle meshes for drawing next frame. This can be used anywhere.
Draws the particle meshes to a given Command buffer.
Draws the generated particles meshes now.
Used to forcefully update the particles
Generate the particle data as well as the mesh
The maximum amount of vertex per mesh. This is used to get around the limitation of Unity's meshes having a max vertex count.