TO SQUASH: Fixed collision issues with the shark.
This commit is contained in:
@@ -17,13 +17,6 @@ public class PlayerGun : MonoBehaviour
|
||||
|
||||
public void AnimationFinished()
|
||||
{
|
||||
if (player.lives > 0)
|
||||
{
|
||||
animator.SetTrigger("revived");
|
||||
}
|
||||
else
|
||||
{
|
||||
spriteRenderer.enabled = false;
|
||||
}
|
||||
spriteRenderer.enabled = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user