sorry for my English, I need help with text variable in game (score). I am beginner in programming and TypeScript API Browser is not helping me very much :(
Can you please give me a simple example how to do it? Thank you :)
For starters, you'll need to create an actor in a scene and put a TextRenderer component on it. Then create a font asset and put it on the text renderer.
Then, in some behavior, you can update the text renderer's displayed text like so: