예제 #1
0
    void DrawHeaderSection()
    {
        GUI.backgroundColor = new Color(0.2f, 0.2f, 0.2f);
        Texture2D headerImage = Resources.Load("heu_hengine") as Texture2D;

        GuiUtil.BeginSection();
        GUILayout.Label(headerImage, GUILayout.MinWidth(100));
        GuiUtil.EndSection();

        GUI.backgroundColor = Color.white;

        GuiUtil.DrawSeparator();
    }