Hi.
So i had implemented kill points value to each different enemy type. The idea was adding extra star points after each kill besides the trophy. The Attacker.cs has a variable public int starPoints = 50;
and on each enemy prefab you can manipulate the amount.
In this difficulty setter i decided to halve the stars amount after each kill. I did this implementation in the ResourceDisplay.cs
public void KillStars (int amount)
{
if (PlayerPrefsController.GetDifficulty() == 0)
{
stars += amount;
}
else
{
stars += amount / 2;
}
DisplayStars();
}