Ejemplo n.º 1
0
 public void toPause()
 {
     if (!cameraMain.getMoving())
     {
         savedXPos = transform.position.x;
         savedYPos = transform.position.y;
         savedZPos = transform.position.z;
         StartCoroutine(cameraMain.move(pausePos));
     }
 }