to be clear, I want to make something like this
Hello Hero
Knights N Squires
Elsword
DOTA 2
my current project is 2D, so I focus on making the GUI like 2nd pic (Knights N Squires).
and I’m using NGUI as my GUI tool
(I’ve asked this question in NGUI support but the dev said that I suppose to ask this in unity forum)
As I know it’s impossible to put objects directly to GUI. I’ve tried putting it directly inside GUI hierarchy but it’s not different with putting it as a root. when I move the camera the object won’t follow. it’s obvious right… bcos it’s not a GUI.
So what’s the trick to do this stuff? I’ve thought some approaches here:
-
In pic1(Hello Hero) and pic2(Knights N Squires) , Do they put the objects somewhere in the world, and when something triggers (like selecting a hero), a camera views a certain object (the selected hero) and then make the GUI renders the camera vision?
*it looks like Camera Render is Pro feature so I can’t use it till I purchase the Pro version
which is maybe after this project sale. -
In pic3 (Elsword) case, when the player walks, the object inside GUI still in idle position, so that means the GUI and the Player are 2 different objects (but same prefab), that makes it really different from Approach#1.
still, what’s the trick?
If you ever had a project like this, maybe further explanation won’t be needed as you should know how to do this.
really need help from you guys.
thanks