public void IncDecKeyHint(bool val) { PlayerClass p = GlobalControl.control.GetCurrentPlayer(); if (val) { p.AddKeyHint(); } else if (p.GetKeyHints() > 0) { p.SubtractKeyHint(); } KeyHintText.text = "Key Hints: " + p.GetKeyHints().ToString(); }