Small fix
This commit is contained in:
@@ -185,6 +185,7 @@ private:
|
||||
Array<ParticleEffectParameter> _parameters; // Cached for scripting API
|
||||
Array<ParameterOverride> _parametersOverrides; // Cached parameter modifications to be applied to the parameters
|
||||
bool _play = false;
|
||||
bool _isPlaying = false;
|
||||
|
||||
public:
|
||||
/// <summary>
|
||||
@@ -241,12 +242,6 @@ public:
|
||||
API_FIELD(Attributes="EditorDisplay(\"Particle Effect\"), DefaultValue(true), EditorOrder(60)")
|
||||
bool PlayOnStart = true;
|
||||
|
||||
/// <summary>
|
||||
/// If true, the particle effect is playing.
|
||||
/// </summary>
|
||||
API_FIELD()
|
||||
bool IsPlaying = false;
|
||||
|
||||
/// <summary>
|
||||
/// If true, the particle simulation will be updated even when an actor cannot be seen by any camera. Otherwise, the simulation will stop running when the actor is off-screen.
|
||||
/// </summary>
|
||||
@@ -339,6 +334,11 @@ public:
|
||||
/// </summary>
|
||||
API_PROPERTY() int32 GetParticlesCount() const;
|
||||
|
||||
/// <summary>
|
||||
/// Gets whether or not the particle effect is playing.
|
||||
/// </summary>
|
||||
API_PROPERTY(Attributes="NoSerialize, HideInEditor") bool GetIsPlaying() const;
|
||||
|
||||
/// <summary>
|
||||
/// Resets the particles simulation state (clears the instance state data but preserves the instance parameters values).
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user