public Rect PropScreen(float left, float top, float width, float height) { return new Rect((int)((Screen.width - Margin * 2) * left + Margin) , (int)((Screen.height - Margin * 2) * top + Margin) , (int)((Screen.width - Margin * 2) * width) , (int)((Screen.height - Margin * 2) * height)); }