Пример #1
0
 public PinchZoomController(CameraProcessor parent, bool limited, float minHeight, float maxHeight, float tolerance)
 {
     this._targetCamera = parent.TargetCamera;
     this._raycast      = new RaycastScreenPointFromCamera(parent.TargetCamera, Vector2.zero);
     this._limited      = limited;
     this._minHeight    = minHeight;
     this._maxHeight    = maxHeight;
     this._tolerance    = tolerance;
 }
 public PinchZoomController(CameraProcessor parent, bool limited, float minHeight, float maxHeight, float tolerance)
 {
     this._targetCamera = parent.TargetCamera;
     this._raycast = new RaycastScreenPointFromCamera(parent.TargetCamera, Vector2.zero);
     this._limited = limited;
     this._minHeight = minHeight;
     this._maxHeight = maxHeight;
     this._tolerance = tolerance;
 }
 public RotateOrbitController(CameraProcessor parent)
 {
     this._targetCamera = parent.TargetCamera;
     this._raycast = new RaycastScreenPointFromCamera(parent.TargetCamera, Vector2.zero);
 }
Пример #4
0
 public PinchZoomController(CameraProcessor parent)
 {
     this._targetCamera = parent.TargetCamera;
     this._raycast      = new RaycastScreenPointFromCamera(parent.TargetCamera, Vector2.zero);
 }