protected virtual void HitAI(Dinosaur ai) { ai.TakeDamage(playerNumber, damage); if (GameManager.instance.SelectedGamemode != null) { GameManager.instance.SelectedGamemode.AddToStats(playerNumber, StatTypes.DamageDealt, damage); } }