Esempio n. 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;
        }
Esempio n. 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);
 }
Esempio n. 3
0
 public static void Splitter(Color color, float thickness, float length, Axis drawAxis)
 {
     FlaiGUI.Splitter(color, thickness, length, drawAxis, true, Vector2i.Zero);
 }
Esempio n. 4
0
 public static void Splitter(Color color, float thickness, float length)
 {
     FlaiGUI.Splitter(color, thickness, length, Axis.Horizontal, true, Vector2i.Zero);
 }
Esempio n. 5
0
 public static void Splitter(Color color, float thickness)
 {
     FlaiGUI.Splitter(color, thickness, Screen.width * 0.9f, Axis.Horizontal, true, Vector2i.Zero);
 }