Пример #1
0
        public static void DrawTexture(RectangleF area, Texture texture, Color color)
        {
            Color previousColor = GUI.backgroundColor;

            GUI.color = color;
            FlaiGUI.DrawTexture(area, texture);
            GUI.color = previousColor;
        }
Пример #2
0
 public static void Splitter(Color color, float thickness, float length, Axis drawAxis, bool useLayout)
 {
     FlaiGUI.Splitter(color, thickness, length, drawAxis, useLayout, Vector2i.Zero);
 }
Пример #3
0
 public static void Splitter(Color color, float thickness, float length, Axis drawAxis)
 {
     FlaiGUI.Splitter(color, thickness, length, drawAxis, true, Vector2i.Zero);
 }
Пример #4
0
 public static void Splitter(Color color, float thickness, float length)
 {
     FlaiGUI.Splitter(color, thickness, length, Axis.Horizontal, true, Vector2i.Zero);
 }
Пример #5
0
 public static void Splitter(Color color, float thickness)
 {
     FlaiGUI.Splitter(color, thickness, Screen.width * 0.9f, Axis.Horizontal, true, Vector2i.Zero);
 }