27 lines
888 B
C#
27 lines
888 B
C#
|
// using Paps.UnityToolbarExtenderUIToolkit;
|
|||
|
// using UnityEditor;
|
|||
|
// using UnityEngine;
|
|||
|
// using UnityEngine.UIElements;
|
|||
|
//
|
|||
|
// [MainToolbarElement(id: "BuildSettingWindow", alignment: ToolbarAlign.Right, order: 3)]
|
|||
|
// public class BuildSettingWindow : IMGUIContainer
|
|||
|
// {
|
|||
|
// private GUIContent buildBtContent;
|
|||
|
//
|
|||
|
// public void InitializeElement()
|
|||
|
// {
|
|||
|
// buildBtContent = EditorGUIUtility.TrTextContentWithIcon("Build App/Hotfix", "打新包/打热更", EditorGUIUtility.IconContent("d_BuildSettings.Standalone").image);
|
|||
|
// onGUIHandler = MyGUIMethod;
|
|||
|
// }
|
|||
|
//
|
|||
|
// private void MyGUIMethod()
|
|||
|
// {
|
|||
|
// GUILayout.BeginHorizontal();
|
|||
|
//
|
|||
|
// if (GUILayout.Button(buildBtContent, EditorStyles.toolbarButton, GUILayout.MaxWidth(125)))
|
|||
|
// Debug.Log("GUI Button clicked");
|
|||
|
//
|
|||
|
// GUILayout.EndHorizontal();
|
|||
|
// }
|
|||
|
// }
|