Player Stat system
Posted: Tue Jun 10, 2025 11:59 pm
Is it possible to set up a player stat system that can be displayed on screen? Using Lua?
Support and discussion forum for Pixel Crushers products
https://www.pixelcrushers.com:443/phpbb/
https://www.pixelcrushers.com:443/phpbb/viewtopic.php?t=9219
Code: Select all
// Variables "HP" and "MaxHP" are player stats. Show them in this UI:
textMeshProHP.text = FormattedText.ParseCode("[var=HP] / [var=MaxHP]");