Esempio n. 1
0
    //保存渠道配置
    private void SaveComeFromConfig()
    {
        SaveGameSettingData();

        // 保存后做特定的回调
        ProjectCallback.TriggerAfterPlayerSettingToolSave();

        //修改游戏签名
        ChangeKeystorePass();

        //修改版本号
        ChangeBundleVersion();

        //修改游戏IconAndSplash
        ChangeIconAndSplash();

        //修改游戏标签
        ChangeBundleIdentifier(_gameSettingData.channel);

        //更新打包文件名
        UpdateBuildToFileName(_gameSettingData.channel);

        //改变需要的宏
        ChangDefineSymbols(_gameSettingData.channel);

        //修改产品名
        ChangeProductName(_gameSettingData.channel);

        //修改BuildeSettings
        ChangBuildSettings();

        //修改打包projmods
        ChangeProjmods(_gameSettingData.channel);

        // 修改打包SDK版本
        ChangeIOSTargetOSVersion();
    }
Esempio n. 2
0
 static ChannelSetting()
 {
     ProjectCallback.RegisterAfterPlayerSettingToolSave(ProjectCallback.AfterSaveOrder.ChannelSetting, PlayerSettingToolAfterSave);
 }