Example #1
0
        void FuseGUI()
        {
            GUILayout.BeginHorizontal();
            GUILayout.Label("NEW:", GUILayout.ExpandWidth(false));
            Color defaultCol = GUI.skin.label.normal.textColor;

            GUI.skin.label.normal.textColor = highlightColor;
            if (GUILayout.Button("Fuse", GUI.skin.label, GUILayout.ExpandWidth(false)))
            {
                Application.OpenURL("http://hubs.ly/y02VJ10");
            }
            GUI.skin.label.normal.textColor = defaultCol;
            GUILayout.Label("characters are FacePlus compatible!", GUILayout.ExpandWidth(false));
            GUILayout.EndHorizontal();
            if (GUILayout.Button("Configure Fuse Character"))
            {
                FuseConfigWindow.Init();
            }
            EditorGUILayout.Space();
            Divider();
        }
Example #2
0
 public static void Init()
 {
     // Get existing open window or if none, make a new one
     FuseConfigWindow window = (FuseConfigWindow)EditorWindow.GetWindow(typeof(FuseConfigWindow), false, "Fuse Character");
 }