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