void OnEnable() { buildTarget = EditorUserBuildSettings.activeBuildTarget; channelType = PackageUtils.GetCurSelectedChannel(); ReadLocalVersionFile(buildTarget, channelType); localServerType = PackageUtils.GetLocalServerType(); localServerIP = PackageUtils.GetLocalServerIP(); androidBuildABForPerChannel = PackageUtils.GetAndroidBuildABForPerChannelSetting(); iosBuildABForPerChannel = PackageUtils.GetIOSBuildABForPerChannelSetting(); }
void OnEnable() { buildTarget = EditorUserBuildSettings.activeBuildTarget; channelType = PackageUtils.GetCurSelectedChannel(); resVersion = ReadResVersionConfig(); bundleVersion = PlayerSettings.bundleVersion; localServerType = PackageUtils.GetLocalServerType(); localServerIP = PackageUtils.GetLocalServerIP(); androidBuildABForPerChannel = PackageUtils.GetAndroidBuildABForPerChannelSetting(); iosBuildABForPerChannel = PackageUtils.GetIOSBuildABForPerChannelSetting(); }