Merge branch 'main' of https://git.steelants.cz/GJP/GGJ2022
This commit is contained in:
commit
ccd4d70b1e
File diff suppressed because it is too large
Load Diff
@ -44,11 +44,11 @@ public class PlayerController : MonoBehaviour
|
|||||||
|
|
||||||
moveDirection = (transform.forward * curSpeedX * Time.deltaTime) + (transform.right * curSpeedY * Time.deltaTime);
|
moveDirection = (transform.forward * curSpeedX * Time.deltaTime) + (transform.right * curSpeedY * Time.deltaTime);
|
||||||
|
|
||||||
if (isRunning && !runningParticles.isPlaying())
|
if (isRunning && !runningParticles.isPlaying)
|
||||||
{
|
{
|
||||||
runningParticles.Play();
|
runningParticles.Play();
|
||||||
}
|
}
|
||||||
else if (!isRunning && runningParticles.isPlaying())
|
else if (!isRunning && runningParticles.isPlaying)
|
||||||
{
|
{
|
||||||
runningParticles.Stop();
|
runningParticles.Stop();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user