//void ExecuteBuildBundle() { // EditorApplication.delayCall += BuildBundle; // void BuildBundle() { // P.SetBuildParamIndex(); // try { // BuildCommands.Build( 0x02 ); // } // catch( Exception e ) { // UnityDebug.LogException( e ); // } // EditorApplication.update -= BuildBundle; // } //} void MakeDrawBuildTarget() { m_draw = null; switch (P.i.selectBuildTargetGroup) { case BuildTargetGroup.Standalone: m_draw = new BuildPlatformStandard(); m_buildPlatformDrawer = new BuildProperty_Standalone(); break; case BuildTargetGroup.WebGL: m_draw = new BuildPlatformWebGL(); m_buildPlatformDrawer = new BuildProperty_WebGL(); break; case BuildTargetGroup.Android: // m_draw = new BuildPlatformAndroid(); // break; case BuildTargetGroup.iOS: // m_draw = new BuildPlatformIOS(); // break; case BuildTargetGroup.Unknown: // m_draw = new BuildPlatformUnknown(); // break; default: m_buildPlatformDrawer = new BuildProperty_Default(); break; } }
///////////////////////////////////////// public void SelectPlatform(P.Platform platform, BuildPropertyBase drawer) { m_platform = platform; m_buildPlatformDrawer = drawer; m_treeViewL.RegisterFiles(m_platform, m_treeViewR); m_treeViewR.RegisterFiles(m_platform, m_buildPlatformDrawer); drawer.CheckError(); }
///////////////////////////////////////// public void RegisterFiles(P.Platform platform, BuildPropertyBase drawer) { var lst = new List <Item>(); InitID(); m_platform = platform; m_buildPlatformDrawer = drawer; m_registerItems = m_buildPlatformDrawer.CreateItemList(); ReloadAndSorting(); ExpandAll(); }