move or lerp slowly game object to other game object's position by single click on UI Button not on multiple clicks?
hey man i have a problem please solve my problem " i have a button in my scene a main camera and am empty game object now what i want that whenever i click on that button my camera will slowly lerp to that empty game objects position. My camera is lerping to that positition which is fine but the problem is that i have to click multiple times on that button until my camera reached its position so is there a way to move my camera to game objects position on single click on button please help me thanks waiting
Your answer
![](https://koobas.hobune.stream/wayback/20220612182124im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
GUI texture not showing up in unity 5? 1 Answer
Cant keep OnGUI() elements to the same position C# 1 Answer
My game screen is getting blue for 1 or 2 seconds when i am requesting and getting response ? 0 Answers
Unity3d UI ListBox Help 0 Answers
What needs to be considered when moving from a Screen Space Overlay UI to a Screen Space Camera UI? 1 Answer