S
S
SDHOPS2016-06-29 12:50:16
Unity
SDHOPS, 2016-06-29 12:50:16

Unity3D: How to change cameras?

Good afternoon, there are several menus on the same scene, it is necessary that when you click on the UI button, Camera 1 switches to Camera 2, can you help me implement it?
PS: Links are welcome.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daniil Basmanov, 2016-06-29
@SDHOPS

Turn off the first camera, turn on the second, that's it.
You can enable/disable using Behaviour.enabled or GameObject.SetActive .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question