Fixed CameraOcclusionProtector warning
removed unnecessary 'new' keyword
This commit is contained in:
parent
055359cce4
commit
573da23984
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ public class CameraOcclusionProtector : MonoBehaviour
|
|||
#endif
|
||||
|
||||
// Private fields
|
||||
private new Camera camera;
|
||||
private Camera camera;
|
||||
private Transform pivot; // The point at which the camera pivots around
|
||||
private Vector3 cameraVelocity;
|
||||
private float nearClipPlaneHalfHeight;
|
||||
|
|
Reference in a new issue