It takes half a second to create the transform node using the "Create Empty" GameObject keyboard shortcut. It takes half a minute to make a cube and delete all the components. They both accomplish the same thing.
But i can't see the GUI texture. I also made a cube, and removed everything in the inspector, then placed the GUI-texture component and made a lifebar like you did.
But i can't see it when i run the game. Does this only work for 2d sidescroll ?
It takes half a second to create the transform node using the "Create Empty" GameObject keyboard shortcut. It takes half a minute to make a cube and delete all the components. They both accomplish the same thing.
raedotted 1 year ago
It drives me crazy.. To make a transform node with only one click, all you have to do is go to "GameObject" and click "Create Empty".
and.. Done..
raedotted 1 year ago
i tried using this in a 3d (3rd person) scene.
But i can't see the GUI texture. I also made a cube, and removed everything in the inspector, then placed the GUI-texture component and made a lifebar like you did.
But i can't see it when i run the game. Does this only work for 2d sidescroll ?
Cyrielmartens 1 year ago