- Home /
Question by
rajavamsidhar_gvs · Aug 07, 2015 at 11:58 AM ·
camera
Locate me when i click the button?
hi all..i've a simple problem didnt find exact answer.i've a camera(ortho), it has zoom in zoom out sliders scripts like a map view. i've a button "Locate Me". when i click it my camera should find my player object by tag "Player" with some distance on top.if any script can acceptable.Thanks
Comment
Thanks for the reply.locate means that i've 15by15 km terrain.camera is top of the terrain like map view.my player some where in that terrain.if suddenly i want to see my position i click on button then my map view camera can go to my player position by finding player tag.i'll try ur code.again thanks for the reply.
Your answer
![](https://koobas.hobune.stream/wayback/20220611234753im_/https://answers.unity.com/themes/thub/images/avi.jpg)