This commit is contained in:
haitem committed 2022-01-29 01:47:47 +01:00
commit ccd4d70b1e
2 files changed
+5359 -577

No files matched your search

+5357 -575
View File
File diff suppressed because it is too large. Load diff
+2 -2
View File
@@ -44,11 +44,11 @@ public class PlayerController : MonoBehaviour
moveDirection = (transform.forward * curSpeedX * Time.deltaTime) + (transform.right * curSpeedY * Time.deltaTime);
if (isRunning && !runningParticles.isPlaying())
if (isRunning && !runningParticles.isPlaying)
{
runningParticles.Play();
}
else if (!isRunning && runningParticles.isPlaying())
else if (!isRunning && runningParticles.isPlaying)
{
runningParticles.Stop();
}