源战役客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

20 lines
511 B

using UnityEngine;
using UnityEditor;
namespace U3DExtends
{
[CustomEditor(typeof(Decorate))]
public class DecorateEditor : Editor
{
public override void OnInspectorGUI()
{
Decorate widget = target as Decorate;
if (GUILayout.Button("加载外部图片", GUILayout.Height(30)))
{
UIEditorHelper.SelectPicForDecorate(widget);
}
}
}
//Cat!TODO:给按钮文本等控件增加切换样式的功能
}