public static void DrawVerticalShow(Rect rect, bool fadeToTheRight) { Rect texCoords = !fadeToTheRight ? new Rect(1f, 1f, -1f, -1f) : new Rect(0f, 0f, 1f, 1f); GUI.DrawTextureWithTexCoords(rect, styles.leftToRightShadowTexture, texCoords); }