Esempio n. 1
0
 //GameObject cameraObject;
 public BoardCamera(GameObject cameraObject)
 {
     //this.cameraObject = cameraObject;
     camera          = cameraObject.GetComponentInChildren <Camera>();
     cameraMoving    = new DragMoving(cameraObject);
     cameraZoomInOut = new DragZoom(cameraObject);
     cameraAngle     = new LookAtManual(cameraObject);
 }