Hide when you click

Hi, I would like to close the camera1 object and open the camera2 object when I click on my object named Stone.Can you write a sample code? I’ll do it according to the example.

Sure.

public void SomeOnClickMethod()
{
camera1.SetActive(true);
camera2.SetActive(false);
}