public static void show4PublishSeting(string rootPath, string publishConfig, Callback callback, Callback callback2)
    {
        ECLGUIResList window = ScriptableWizard.DisplayWizard <ECLGUIResList> ("Res List");

//		Rect rect = window.position;
//		//		rect = new Rect (-Screen.width/2, Screen.height / 2 - Screen.height / 4, Screen.width / 2, Screen.height / 2);
//		rect.x = -Screen.width - Screen.width / 4;
//		rect.y = Screen.height / 2 - Screen.height / 4;
//		rect.width = Screen.width / 2;
//		rect.height = Screen.height / 2;
//		window.position = rect;

        window.title      = "资源列表";
        window.rootPath   = rootPath;
        window.callback   = callback;
        window.callback2  = callback2;
        window.totalFiles = 0;

        window.datas.Clear();
        window.selectedDatas.Clear();

        window.resLastUpgradeVer = ECLProjectManager.getLastUpgradeVer();
        window.initData(rootPath, 0);
        window.init4PublishSetting(publishConfig);
//		window.ShowPopup ();
        window.Show();
    }
    public static void show4Upgrade(string rootPath, Callback callback, Callback callback2)
    {
        ECLGUIResList window = ScriptableWizard.DisplayWizard <ECLGUIResList> ("Res List");

//		Rect rect = window.position;
//		rect.x = -Screen.width - Screen.width / 4;
//		rect.y = Screen.height / 2 - Screen.height / 4;
//		rect.width = Screen.width / 2;
//		rect.height = Screen.height / 2;

//		Vector2 size = Handles.GetMainGameViewSize ();
//		rect = new Rect (-size.x/2, size.y / 2 - size.y / 4, size.x / 2, size.y / 2);
//		window.position = rect;

        window.title      = "Upgrade资源列表";
        window.rootPath   = rootPath;
        window.callback   = callback;
        window.callback2  = callback2;
        window.totalFiles = 0;

        window.datas.Clear();
        window.selectedDatas.Clear();

        window.resLastUpgradeVer = ECLProjectManager.getLastUpgradeVer();
        window.initData(rootPath, 0);
        window.init4Upgrade4Publish();

        window.Show();
    }
    public static void show(string rootPath, Callback callback, Callback callback2)
    {
        ECLGUIResList window = ScriptableWizard.DisplayWizard <ECLGUIResList> ("Res List");

//		if (window == null) {
//			window = new ECLGUIResList ();
//		}
//		window.position = new Rect (Screen.width / 2 - Screen.width / 4, Screen.height / 2 - Screen.height / 4, Screen.width / 2, Screen.height / 2);
        window.title      = "资源列表";
        window.rootPath   = rootPath;
        window.callback   = callback;
        window.callback2  = callback2;
        window.totalFiles = 0;

        window.datas.Clear();
        window.selectedDatas.Clear();

        window.resLastUpgradeVer = ECLProjectManager.getLastUpgradeVer();
        window.initData(rootPath, 0);
        window.Show();
    }