コード例 #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;
 }
コード例 #2
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;
 }
コード例 #3
0
 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);
 }