void ExecuteBuildBundle()
        {
            EditorApplication.delayCall += BuildBundle;

            void BuildBundle()
            {
                P.SetBuildParamIndex();
                try {
                    BuildCommands.Build(0x02);
                }
                catch (Exception e) {
                    UnityDebug.LogException(e);
                }
                EditorApplication.update -= BuildBundle;
            }
        }
        void ExecuteBuildPackage()
        {
            EditorApplication.delayCall += BuildPackage;

            void BuildPackage()
            {
                P.SetBuildParamIndex();
                try {
                    var flag = 0x01;
                    if (P.GetCurrentParams().buildAssetBundlesTogether)
                    {
                        flag |= 0x02;
                    }
                    BuildCommands.Build(flag);
                }
                catch (Exception e) {
                    UnityDebug.LogException(e);
                }
            };
        }