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); }
public PinchZoomController(CameraProcessor parent) { this._targetCamera = parent.TargetCamera; this._raycast = new RaycastScreenPointFromCamera(parent.TargetCamera, Vector2.zero); }