GUI Text Variable Counter In C#

Hi Guys :slight_smile: I have a Small Question. I am Currently Making a MMORPG (that works right now)
and now i need a Variable Counter In C# (Not JavaScript Because i already know it)
Can Someone Help me :)?

-Yohan

Well, that totally depends on what current health system you have! But generally, assuming you already do have some manner of health system set up, the C# method is pretty much exactly the same as the JS method. Like so:

GUIText healthGUI;
    
void Update () {
	healthGUI.text = yourHealthVar.ToString();
}

Hope that helps, Klep