Example #1
0
 public void screenChange()
 {
     Position   = camera.GetCameraScreenCenter();
     screenSize = GetViewportRect().Size;
     widthMod   = (int)(screenSize.x / 2 * zoom);
     heightMod  = (int)(screenSize.y / 2 * zoom);
 }