Skip to content

Instantly share code, notes, and snippets.

@modyari
Last active January 25, 2023 23:17
Show Gist options
  • Save modyari/db69631e1f42ec3939e126ae77dee49d to your computer and use it in GitHub Desktop.
Save modyari/db69631e1f42ec3939e126ae77dee49d to your computer and use it in GitHub Desktop.
Dependency rule article code snippets
public void HandlePickup()
{
DeactivatePowerUp();
hideAnimation.Play();
powerUpUI.Show()
soundManager.PlaySound(Sounds.PowerUp);
player.Pickup(this);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment