Typo
This commit is contained in:
parent
ba58b9f74a
commit
807187e5bf
@ -44,11 +44,11 @@ public class PlayerController : MonoBehaviour
|
||||
|
||||
moveDirection = (transform.forward * curSpeedX * Time.deltaTime) + (transform.right * curSpeedY * Time.deltaTime);
|
||||
|
||||
if (isRunning && !myParticles.isPlaying())
|
||||
if (isRunning && !runningParticles.isPlaying())
|
||||
{
|
||||
runningParticles.Play();
|
||||
}
|
||||
else if (!isRunning && myParticles.isPlaying())
|
||||
else if (!isRunning && runningParticles.isPlaying())
|
||||
{
|
||||
runningParticles.Stop();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user