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

File diff suppressed because it is too large Load Diff

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();
}