- Home /
Question by
Wesley S · Feb 19, 2011 at 06:07 PM ·
cameragetbuttondown
camera on getbuttondown
how do i do if imput getbuttondown("fire2") { guncam view=true;
so that when i press my right mouse button the fps main camera switch to guncam
my second camera is named guncam
so can you help me
Comment
Answer by Drandoss · Feb 19, 2011 at 08:20 PM
Switch Cameraat the Unify Wiki has exactly what you need,folow the link. Look harder before asking.
Your answer
![](https://koobas.hobune.stream/wayback/20220613105242im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to make camera position relative to a specific target. 1 Answer
How to launch the player a certain distance with button press? 1 Answer
NullReferenceException: Converting Camera to RenderTexture to Texture2D 0 Answers
Camera in fixed position which rotates with player. 0 Answers
Cursor on animated camera. 0 Answers