// Event Handlers private void GenericPlayerDeath(int deadPlayerNum) { Debug.Log("dying"); if (deadPlayerNum == playerNum) { // trigger death animation in character genericCharacter.OnDeath(); Debug.Log("Player " + playerNum + " has ded"); } }