コード例 #1
0
        //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;
            }
        }
コード例 #2
0
        /////////////////////////////////////////
        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();
        }
コード例 #3
0
        /////////////////////////////////////////
        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();
        }