Whats the best way to have a label with kills, health or a score that updates as the variables connected with it change? Currently I'm just using a SKLabelNode and assigning text to it with a variable, but the text property is not computed, so it remains static after initialization. I could every time I change the monsteredDestroyed variable, update the text, but I have a feeling there is a better way to do this.
let label = SKLabelNode(fontNamed: "CoolFont")
label.text = "Kills: \(monstersDestroyed)"