From 27475bbd71cfa841acc3cf078414889aa1108198 Mon Sep 17 00:00:00 2001 From: ALittlePatate Date: Mon, 6 Mar 2023 18:46:08 +0100 Subject: [PATCH] removed unused code --- DevourClient/Helpers/Render.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/DevourClient/Helpers/Render.cs b/DevourClient/Helpers/Render.cs index 5eade42..612f213 100644 --- a/DevourClient/Helpers/Render.cs +++ b/DevourClient/Helpers/Render.cs @@ -67,14 +67,6 @@ namespace DevourClient.Render GUI.DrawTexture(new Rect(x, y, width, height), text); } - public static void RectOutlined(float x, float y, float width, float height, Texture2D text, float thickness = 1f) - { - RectFilled(x, y, thickness, height, text); - RectFilled(x + width - thickness, y, thickness, height, text); - RectFilled(x + thickness, y, width - thickness * 2f, thickness, text); - RectFilled(x + thickness, y + height - thickness, width - thickness * 2f, thickness, text); - } - static void DrawBox(float x, float y, float w, float h, Color color, float thickness) { Render.DrawLine(new Vector2(x, y), new Vector2(x + w, y), color, thickness);