Class EffectEmitterBase
Base emitter class to be used with the Effect system
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
EffectEmitterBase
Namespace: Atlas
Assembly: Atlas.Runtime.dll
Syntax
public abstract class EffectEmitterBase : MonoBehaviour
Properties
| Improve this Doc View SourceIsFinished
Whether or not the emitter has finished emitting
Declaration
protected abstract bool IsFinished { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsPlaying
Whether or not the effect is currently playing
Declaration
public bool IsPlaying { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourcePlay()
Plays the emitter
Declaration
public virtual void Play()
Stop()
Stops the emitter
Declaration
public virtual void Stop()
Update()
Updates the emitter, called once per frame
Declaration
protected virtual void Update()
Events
| Improve this Doc View SourceEmissionFinishedEvent
Event that gets fired when the effect has finished emitting
Declaration
public event Action EmissionFinishedEvent
Event Type
Type | Description |
---|---|
System.Action |