- Home /
Player to Gui Object Communication in C#
So I am trying to get my player to walk near a object and then a gui to pop up with words and the "Player" will need to interact with this gui.
Sorry if I spelled anything wrong.
I am using C#
Comment
Best Answer
Answer by ScroodgeM · Aug 02, 2012 at 08:44 PM
create a trigger to handle player's move
http://docs.unity3d.com/Documentation/Components/class-BoxCollider.html
handle this move with scripting
http://docs.unity3d.com/Documentation/ScriptReference/Collider.OnTriggerEnter.html
show GUI you want
http://docs.unity3d.com/Documentation/ScriptReference/MonoBehaviour.OnGUI.html
@$$anonymous$$rPdwash I am creating a game, and I would like for you to talk to me more about what you are doing. If you could please email me at Talkshow86@gmail.com
thank you