Summary
Allows creating a class that will exist for as long as a particle.
The methods get called in the particle thread, which removes the need to run through
the particle list again, but it has the danger and restrictions that come with threaded code.
Properties
Source |
The component that created this listener. May be null. |
Methods
OnDisabled |
Called in a thread. OnUpdate won't be called again. |
OnEnabled |
Called in a thread. The particle is in its first position. |
OnUpdate |
Called in a thread, guarenteed to be called after OnEnabled |