private float GetViewportRatio() { KZSize screenSize = new KZSize( Screen.width * targetViewportRect.width, Screen.height * targetViewportRect.height); return screenSize.width / screenSize.height; }
public KZSize(KZSize that) { width = that.width; height = that.height; }