Fixed CameraOcclusionProtector warning

removed unnecessary 'new' keyword
This commit is contained in:
darrelmarek 2017-09-28 14:32:53 -05:00
parent 055359cce4
commit 573da23984

View file

@ -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;