Hey everyone.
So I have a third person platform game where I want there to be NPCs with speech bubbles over their heads that the player can click on to start a conversation with the NPC.
I did some research on how to have NGUI elements in the 3d world and found this video.
http://www.youtube.com/watch?v=YCyNHRv432o at 10:30 he has just created a button in the 3D UI structure and simply drags that button onto a gameobject in the scene to parent it to the object. He then proceeds to add the Camer UI component to his main camera to allow the main cam to allow interaction and presto, its done.
However when I tried to do this, as soon as I drag the button onto my NPC it parents the button to it, but it also grabs the NPC and relocates it to be a part of the 3d UI structure just under the panel that the button was originally a part of.
Anyone have any idea why this isnt working for me?
I realise that im probably using a newer version of NGUI than the guy in the video, but any way around this?