public static void OpenWindow() { BundleHotFix m_BundleHotFix = EditorWindow.GetWindow <BundleHotFix>(false, "热更资源包", true); m_BundleHotFix.position = new Rect(500, 100, 600, 200); m_BundleHotFix.Show(); }
static void Init() { BundleHotFix win = EditorWindow.GetWindow(typeof(BundleHotFix), false, "生成热更包", true) as BundleHotFix; win.Show(); m_Version = PlayerSettings.bundleVersion; m_PackageName = PlayerSettings.applicationIdentifier; }