noir
Full vMember
Posts: 57
|
Post by noir on Mar 27, 2020 19:45:59 GMT
How would I display a companion's Hud on the UI layer? (bottom right of image)
|
|
|
Post by Invector on Mar 31, 2020 16:49:11 GMT
Well... that's actually pretty simple, you can use the 'healthBarSprite' prefab included and change the Canvas from 'WorldSpace' to 'ScreenSpace - Camera'
|
|
argha
Full vMember
CORONA GO. CORONA CO. GO CORONA GO, CORONA Go, GO CORONA GO.
Posts: 77
|
Post by argha on Apr 2, 2020 21:45:48 GMT
Well... that's actually pretty simple, you can use the 'healthBarSprite' prefab included and change the Canvas from 'WorldSpace' to 'ScreenSpace - Camera' I did not find anything named "healthbarsprite" prefab. what did you mean by Worldspace to ScreenSpace i did not get that
|
|
|
Post by Chronicman on Apr 3, 2020 17:09:52 GMT
Well... that's actually pretty simple, you can use the 'healthBarSprite' prefab included and change the Canvas from 'WorldSpace' to 'ScreenSpace - Camera' I did not find anything named "healthbarsprite" prefab. what did you mean by Worldspace to ScreenSpace i did not get that physics-labs.com/2018/11/29/unity-screen-space-and-world-space-ui/healthbarsprite is the ui script, if your looking for the prefab its called enemyHealthUI
|
|
argha
Full vMember
CORONA GO. CORONA CO. GO CORONA GO, CORONA Go, GO CORONA GO.
Posts: 77
|
Post by argha on Apr 3, 2020 20:34:29 GMT
I did not find anything named "healthbarsprite" prefab. what did you mean by Worldspace to ScreenSpace i did not get that Thank you soo much. This little things helps me a lot. Now i am reading the document. One thing is clear i can change it from Render=worldspace that's it?
|
|
noir
Full vMember
Posts: 57
|
Post by noir on Apr 4, 2020 3:31:02 GMT
Thank you very much!
|
|