private void OnEnable() { if (builder != null) { return; } builder = new AssetBundleBuilder(this); panels = new APanel[3]; panels[0] = new BundleSettingPanel(this); panels[1] = new DetailBuildingPanel(this); panels[2] = new SettingPanel(this); curPanel = panels[0]; curPanel.OnInit(); }
protected APanel(AssetBundleBuilderWindow builderWindow) { this.builderWindow = builderWindow; mainBuilder = this.builderWindow.Builder; }