When I Clicked in minimap,How can i get the point position in 3d scene worldposition?
thank you!
UGUI MiniMap Clicked Point In 3D Scene Position
- Lovatto
- Admin
- Posts: 1834
- Joined: Sun Dec 07, 2014 3:18 pm
- Contact:
You only need get the Camera position and convert to World Cordinate.
this can help you: http://docs.unity3d.com/ScriptReference ... Point.html
this can help you: http://docs.unity3d.com/ScriptReference ... Point.html
- xmatrix1211
- New Member
- Posts: 3
- Joined: Mon Jan 18, 2016 5:14 am
I mean is when i click any position in Minimap,then my player go to the position which clicked on Mimimap in 3d scene.
not screen position. thank you.
not screen position. thank you.
- Lovatto
- Admin
- Posts: 1834
- Joined: Sun Dec 07, 2014 3:18 pm
- Contact:
- xmatrix1211
- New Member
- Posts: 3
- Joined: Mon Jan 18, 2016 5:14 am
Sorry,I'm a Beginner of unity script,Can you show me some sample code for my request function above.
thank you very much.
thank you very much.