Hi,
I want to make a hint system where you can buy/unlock the next hint/objective whenever you click on a button.
I looked at System.Linq, but I am not sure how to do this right.
The sample below activates all hints when I press a button.
public void UnlockHint()
{
for (int i = 0; i < Hints.Count; i++)
{
if(!Hints_.isUnlocked && !Hints*.isDone)*_
Hints*.isUnlockable = true;*
if(Hints*.isUnlockable)*
Hints*.isUnlocked = true;*
}
}
Thanks,
Tim