Your code is correct. Just make sure that you add a collider to the Plane (which you want to assign as a button). You can also add a GUI button to translate or move your camera. That way your button will always be in view. I assume you will not want to move the Plane along with your camera.
Add collider by going to Physics and then collider.