Text UI in VR

Hi guys,

so I purchased the easy life system and got most of it to run in my VR game which is like a treasure hunt where you constantly lose health but are able to fill it up with some potions. So anyway, I’m having a hard time to display the health in VR. I already managed to put text directly to the left hand (which is where I want the life displayed) buuut I don’t have a “health bar” object or such that I could put there. The one that the system gives will only be displayed in the game window, not in the actual VR :confused: But it’s generated by a script and I don’t really know how I could transfer that to the text object that is on my hand x-x I hope it’s understandable.
So anyway, does anyone have a solution to this? Because like, I would just copy the part of the script that generates the health bar, but I wouldn’t know how to tell unity that it’s still a text window…?
I’d post the script, but since I bought it myself I kinda feel that’s illegal (and unfair).

Maybe you can help out? ^^’ Best regards, Hannah

use worldspace canvas gui

@enhawk Thx for the tipp =) I already did that though. My problem was getting the scripted text to be displayed in the text field in the canvas.
I managed to solve the problem though! I modified the script to also put out the text in a new text variable and then could drag a designated text field into the script for said variable in unity.