场景1:每次前端更新后都要找到指定项目文件夹更新svn才能测试,所以在untiyEditor中写了个SVN update工具。
场景2:开发人员经常说之前提的BUG现在又没有了,希望能在bug单中写入svn版本号,所以每次提BUG还得手动记录svn version ,干脆把这个也一起做了。
效果图:
点击后
public class GMPanel:EditorWindow
{
GMPanel()
{
GetSvnVersion();
}
[MenuItem("QA/GM面板")]
public static void OpenWindow()
{
EditorWindow.GetWindow(typeof(GMPanel));
}
void OnGUI()
{
this.titleContent = new GUIContent("GM面板");
//显示s