Can't display number of lives

And is the LoseCollider the only object with the LoseCollider.cs script attached? Because the fact that it turns into a 7 tells me the line the compiler complains about does actually execute fine in this case, so maybe there is a second LoseCollider script somewhere with an empty Text field?

1 Like