Helper class to provide a cached reference to Camera.Main. If Camera.Main does not exist the cached reference is set to the first camera in the scene. This may happen if the Camera.Main tag is not set on the GameObject. More...
Properties | |
| static Camera | MainCamera [get] |
Helper class to provide a cached reference to Camera.Main. If Camera.Main does not exist the cached reference is set to the first camera in the scene. This may happen if the Camera.Main tag is not set on the GameObject.