Example #1
0
 // Start is called before the first frame update
 void Start()
 {
     dragMethod   = new DragMethodWorldPoint();
     pinchAction  = new PinchScale();
     rotateFunc   = new RotateRelativeToCamera();
     dragPosition = transform.position;
 }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     dragMethod   = new DragMethodDistanceFromCamera();
     dragPosition = transform.position;
     pinching     = new PinchScale();
     rotateFunc   = new RotateRelativeToCamera();
 }