- Home /
Question by
Selocanus · Jun 30, 2020 at 05:42 PM ·
camera-looktower-defensesight
How can I posses an object with a new camera?
Hello there, My friend and I are designing a tower defence game right now. My objective here is to write down a script for player that can posses a tower's sight. So you can posses a tower and be the gunner of this tower. The steps are these: 1)If the clicked object is a tower posses it. 2)Change the view to that objects camera.
I already designed an object with camera(as a prefab) and the camera's sight script. However I need to understand how can I change cameras. That's the region I need help with. Thank you
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613002132im_/https://answers.unity.com/themes/thub/images/avi.jpg)