diff options
Diffstat (limited to 'Client/Assets/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetPlaybackSpeed.cs')
-rw-r--r-- | Client/Assets/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetPlaybackSpeed.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Client/Assets/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetPlaybackSpeed.cs b/Client/Assets/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetPlaybackSpeed.cs index 0e3d23db..2555a0b0 100644 --- a/Client/Assets/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetPlaybackSpeed.cs +++ b/Client/Assets/Behavior Designer/Runtime/Basic Tasks/ParticleSystem/SetPlaybackSpeed.cs @@ -29,8 +29,8 @@ namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityParticleSystem Debug.LogWarning("ParticleSystem is null");
return TaskStatus.Failure;
}
- ParticleSystem.MainModule main = particleSystem.main;
- main.simulationSpeed = playbackSpeed.Value;
+
+ particleSystem.playbackSpeed = playbackSpeed.Value;
return TaskStatus.Success;
}
|