Load bar in GameObject

Hi All! I’m making a simple RTS game and I have an ISO Camera setup with a terrain and some buildings (3d game objects) and I’d like to add a Load bar when the building is instantiated onto the ground.
Now I’m using an empty game object with a TextMesh to display the name of the building, but how can I display a loading/energy bar like the TextMesh?

You can use a UI slider with the handle removed inside a canvas set to world space like this

98517-2017-07-27-14-14-40.gif

I would use an In World Canvas Image that’s been set to fill mode. From there you can access the fill by using FillAmount.

https://docs.unity3d.com/ScriptReference/UI.Image-fillAmount.html