public void Update(InputState lastInputState, InputState inputState) { Label label = UIs.OfType<Label>().First(); label.UpdateText($"Score: {Game1.gameData.score}"); }