Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added small internal cooldown to the PlayLandParticlesAction StateAction #260

Merged
merged 2 commits into from Dec 12, 2020
Merged

Commits on Dec 8, 2020

  1. Added small internal cooldown to PlayLandParticlesAction StateAction

    https://open.codecks.io/unity-open-project-1/decks/15-code/card/18k-avoid-spamming-particles-on-sliding
    
    Whenever the PlayLandParticlesAction StateAction is exited by the state machine, it checks if total elapsed time is greater then the total elapsed time of the last particle call + a small amount.
    
    If so, only then do we tell the DustParticle Controller to play, and we also set the new time to beat to be the current time.
    MTrecozzi committed Dec 8, 2020
    Configuration menu
    Copy the full SHA
    38f3d76 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2020

  1. Update PlayLandParticlesActionSO.cs

    Removed the unnecessarily verbose extra function
    ciro-unity committed Dec 12, 2020
    Configuration menu
    Copy the full SHA
    fab4401 View commit details
    Browse the repository at this point in the history