Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev
commit
79aab3d3b4
|
|
@ -108,9 +108,9 @@ RectTransform:
|
|||
m_Father: {fileID: 224208791220860236}
|
||||
m_RootOrder: 6
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 1, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 0}
|
||||
m_AnchoredPosition: {x: 190, y: 39}
|
||||
m_AnchorMin: {x: 0.5, y: 0}
|
||||
m_AnchorMax: {x: 0.5, y: 0}
|
||||
m_AnchoredPosition: {x: 958, y: 39}
|
||||
m_SizeDelta: {x: 208, y: 46}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &222079314688239424
|
||||
|
|
@ -182,9 +182,9 @@ RectTransform:
|
|||
m_Father: {fileID: 224067770939544360}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0.5465189}
|
||||
m_AnchorMax: {x: 0, y: 0.5465189}
|
||||
m_AnchoredPosition: {x: 191, y: 56}
|
||||
m_AnchorMin: {x: 0.5, y: 0}
|
||||
m_AnchorMax: {x: 0.5, y: 0}
|
||||
m_AnchoredPosition: {x: -339, y: 342}
|
||||
m_SizeDelta: {x: 400, y: 200}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &222077255835528516
|
||||
|
|
@ -333,10 +333,10 @@ RectTransform:
|
|||
m_Father: {fileID: 224067770939544360}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0.282}
|
||||
m_AnchorMax: {x: 1, y: 0.282}
|
||||
m_AnchoredPosition: {x: 12.400024, y: -23.100006}
|
||||
m_SizeDelta: {x: -110.79999, y: 249.2}
|
||||
m_AnchorMin: {x: 0.5, y: 0}
|
||||
m_AnchorMax: {x: 0.5, y: 0}
|
||||
m_AnchoredPosition: {x: -0.000072479, y: 123.899994}
|
||||
m_SizeDelta: {x: 937.14, y: 249.2}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &222769664159705968
|
||||
CanvasRenderer:
|
||||
|
|
@ -413,10 +413,10 @@ RectTransform:
|
|||
m_Father: {fileID: 224067770939544360}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0.5941292}
|
||||
m_AnchorMax: {x: 0, y: 0.5941292}
|
||||
m_AnchoredPosition: {x: 233.45996, y: 14.199997}
|
||||
m_SizeDelta: {x: 331.32, y: 63.520004}
|
||||
m_AnchorMin: {x: 0.5, y: 0}
|
||||
m_AnchorMax: {x: 0.5, y: 0}
|
||||
m_AnchoredPosition: {x: -265.54004, y: 325.2}
|
||||
m_SizeDelta: {x: 331.32, y: 63.52002}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &222986120914013502
|
||||
CanvasRenderer:
|
||||
|
|
@ -954,9 +954,9 @@ RectTransform:
|
|||
m_Father: {fileID: 224208791220860236}
|
||||
m_RootOrder: 5
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 1, y: 1}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: -141.41003, y: -121.70996}
|
||||
m_AnchorMin: {x: 0.5, y: 1}
|
||||
m_AnchorMax: {x: 0.5, y: 1}
|
||||
m_AnchoredPosition: {x: 368, y: -121.70996}
|
||||
m_SizeDelta: {x: 282.84, y: 243.43}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &222864043009120698
|
||||
|
|
@ -1299,10 +1299,10 @@ MonoBehaviour:
|
|||
loop: 0
|
||||
loopType: 0
|
||||
targetObj: {fileID: 224067770939544360}
|
||||
- initV3: {x: 190, y: 39, z: 0}
|
||||
- initV3: {x: 958, y: 39, z: 0}
|
||||
initFloat: 0
|
||||
isInit: 0
|
||||
changeV3: {x: -154, y: 39, z: 0}
|
||||
changeV3: {x: 350, y: 39, z: 0}
|
||||
changeFloat: 0
|
||||
duration: 0.3
|
||||
delay: 0
|
||||
|
|
|
|||
|
|
@ -137,48 +137,51 @@ function this.InitActivityServerData(msg, isUpdate)
|
|||
this.mission = {}
|
||||
end
|
||||
for i, v in ipairs(msg.activityInfo) do
|
||||
|
||||
this.CheckMoneyProgress(v)
|
||||
this.mission[v.activityId] = v
|
||||
|
||||
--LogYellow("刷新活动数据activityId:" .. v.activityId .. " value:" .. v.value)
|
||||
for n, m in ipairs(v.mission) do
|
||||
--LogGreen(" 刷新活动数据missionId:" .. m.missionId .. " state:" .. m.state .. " progress:" .. m.progress)
|
||||
if (v.activityId == ActivityTypeDef.OnlineGift) then
|
||||
this.onlineOpen = true
|
||||
this.onlineGetRewardState[m.missionId] = m.state
|
||||
this.haveOnlineTime = m.progress
|
||||
this.onlineTime= m.progress
|
||||
------LogGreen("------------------------------------后端刷新在线时长2 "..m.progress.." "..TimeToHMS(m.progress))
|
||||
this.cuOnLineTimestamp = GetTimeStamp() - m.progress
|
||||
--this.StartOnlineUpdate()
|
||||
elseif (v.activityId == ActivityTypeDef.EightDayGift) then
|
||||
this.sevenDayOpen = true
|
||||
this.sevenDayGetRewardState[n] = m.state
|
||||
this.canRewardDay = m.progress
|
||||
elseif (v.activityId == ActivityTypeDef.ChapterAward) then
|
||||
this.chapterOpen = true
|
||||
this.chapterGetRewardState[m.missionId] = m.state
|
||||
if GlobalActivity[v.activityId] then
|
||||
this.CheckMoneyProgress(v)
|
||||
this.mission[v.activityId] = v
|
||||
|
||||
--LogYellow("刷新活动数据activityId:" .. v.activityId .. " value:" .. v.value)
|
||||
for n, m in ipairs(v.mission) do
|
||||
--LogGreen(" 刷新活动数据missionId:" .. m.missionId .. " state:" .. m.state .. " progress:" .. m.progress)
|
||||
if (v.activityId == ActivityTypeDef.OnlineGift) then
|
||||
this.onlineOpen = true
|
||||
this.onlineGetRewardState[m.missionId] = m.state
|
||||
this.haveOnlineTime = m.progress
|
||||
this.onlineTime= m.progress
|
||||
------LogGreen("------------------------------------后端刷新在线时长2 "..m.progress.." "..TimeToHMS(m.progress))
|
||||
this.cuOnLineTimestamp = GetTimeStamp() - m.progress
|
||||
--this.StartOnlineUpdate()
|
||||
elseif (v.activityId == ActivityTypeDef.EightDayGift) then
|
||||
this.sevenDayOpen = true
|
||||
this.sevenDayGetRewardState[n] = m.state
|
||||
this.canRewardDay = m.progress
|
||||
elseif (v.activityId == ActivityTypeDef.ChapterAward) then
|
||||
this.chapterOpen = true
|
||||
this.chapterGetRewardState[m.missionId] = m.state
|
||||
end
|
||||
if GlobalActivity[v.activityId].Type == ActivityTypeDef.FifteenDayGift then
|
||||
Game.GlobalEvent:DispatchEvent(GameEvent.EightDay.FifteenDayGift)
|
||||
end
|
||||
end
|
||||
if GlobalActivity[v.activityId].Type == ActivityTypeDef.FifteenDayGift then
|
||||
Game.GlobalEvent:DispatchEvent(GameEvent.EightDay.FifteenDayGift)
|
||||
if (v.activityId == ActivityTypeDef.EightDayGift) then
|
||||
this.sevenDayTime = v.endTime - GetTimeStamp()
|
||||
this.dayTime = GetTimeStamp() - v.startTime
|
||||
end
|
||||
end
|
||||
if (v.activityId == ActivityTypeDef.EightDayGift) then
|
||||
this.sevenDayTime = v.endTime - GetTimeStamp()
|
||||
this.dayTime = GetTimeStamp() - v.startTime
|
||||
end
|
||||
if v.choiceRewardId then
|
||||
this.choiceId=v.choiceRewardId
|
||||
end
|
||||
for m, n in ConfigPairs(luckyCatConfig) do
|
||||
--Log(v.activityId.."活动ID")
|
||||
if (v.activityId == n.ActivityId) then
|
||||
LuckyCatManager.isOpenLuckyCat = true
|
||||
LuckyCatManager.GetRewardProgress(v.mission, v.activityId, v.value)
|
||||
if v.choiceRewardId then
|
||||
this.choiceId=v.choiceRewardId
|
||||
end
|
||||
for m, n in ConfigPairs(luckyCatConfig) do
|
||||
--Log(v.activityId.."活动ID")
|
||||
if (v.activityId == n.ActivityId) then
|
||||
LuckyCatManager.isOpenLuckyCat = true
|
||||
LuckyCatManager.GetRewardProgress(v.mission, v.activityId, v.value)
|
||||
end
|
||||
end
|
||||
this.CheckActiveIsOpen(v)
|
||||
else
|
||||
LogError("服务器发送了前端不存在的活动ID:"..v.activityId)
|
||||
end
|
||||
this.CheckActiveIsOpen(v)
|
||||
end
|
||||
TreasureOfSomebodyManagerV2.SetTreasureLocalData()
|
||||
this.OnlineStartCountDown()
|
||||
|
|
@ -503,19 +506,22 @@ end
|
|||
|
||||
-- 检测进度
|
||||
function this.CheckMoneyProgress(v)
|
||||
local type = ConfigManager.GetConfigData(ConfigName.GlobalActivity,v.activityId).Type
|
||||
if type == ActivityTypeDef.FirstRecharge
|
||||
or type == ActivityTypeDef.LuckyCat
|
||||
or type == ActivityTypeDef.DailyRecharge
|
||||
-- or v.activityId == ActivityTypeDef.ContinuityRecharge
|
||||
or type == ActivityTypeDef.AccumulativeRechargeExper
|
||||
or type == ActivityTypeDef.DynamicAct_recharge
|
||||
or type == ActivityTypeDef.FindFairyCeremony then
|
||||
|
||||
for n, m in ipairs(v.mission) do
|
||||
m.progress = m.progress / 1000
|
||||
end
|
||||
v.value = v.value / 1000
|
||||
local act = ConfigManager.TryGetConfigData(ConfigName.GlobalActivity, v.activityId)
|
||||
if act then
|
||||
local type = act.Type
|
||||
if type == ActivityTypeDef.FirstRecharge
|
||||
or type == ActivityTypeDef.LuckyCat
|
||||
or type == ActivityTypeDef.DailyRecharge
|
||||
-- or v.activityId == ActivityTypeDef.ContinuityRecharge
|
||||
or type == ActivityTypeDef.AccumulativeRechargeExper
|
||||
or type == ActivityTypeDef.DynamicAct_recharge
|
||||
or type == ActivityTypeDef.FindFairyCeremony then
|
||||
|
||||
for n, m in ipairs(v.mission) do
|
||||
m.progress = m.progress / 1000
|
||||
end
|
||||
v.value = v.value / 1000
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
--[[
|
||||
--[[
|
||||
* @ClassName FirstRechargePanel
|
||||
* @Description 首充
|
||||
* @Date 2019/6/3 11:45
|
||||
|
|
@ -288,7 +288,11 @@ function FirstRechargePanel:OnRechargeBtnClicked()
|
|||
return
|
||||
end
|
||||
self:ClosePanel()
|
||||
JumpManager.GoJump(36008)
|
||||
if SERVER_VERSION == 1 then
|
||||
JumpManager.GoJump(36010)
|
||||
else
|
||||
JumpManager.GoJump(36008)
|
||||
end
|
||||
end
|
||||
|
||||
function FirstRechargePanel:SetTabRedPointStatus(tabIndex)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
|
||||
local _GuildBuildConfig = {
|
||||
[GUILD_MAP_BUILD_TYPE.HOUSE] = {
|
||||
|
|
@ -288,7 +288,7 @@ function GuildMainCityPanel:OnShow()
|
|||
this._TimeCounter:Start()
|
||||
end
|
||||
|
||||
if not RECHARGEABLE then--(是否开启充值)
|
||||
if not RECHARGEABLE or SERVER_VERSION == 1 then--(是否开启充值)
|
||||
this.btnRedPacket:SetActive(false)
|
||||
end
|
||||
this.LiveName = "live2d_huyao"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Base/BasePanel")
|
||||
require("Base/BasePanel")
|
||||
require("Modules/Map/Logic/TileMapController")
|
||||
require("Modules/Map/Logic/TileMapView")
|
||||
require("Modules/Map/View/MapPointView")
|
||||
|
|
@ -273,7 +273,7 @@ function this:SetActiveGameObj()
|
|||
this.btnRank.gameObject:SetActive(isShow)
|
||||
this.btnReward.gameObject:SetActive(isShow)
|
||||
this.shiQi.gameObject:SetActive(not isShow)
|
||||
this.endLessTreasure.gameObject:SetActive(not isShow)
|
||||
this.endLessTreasure.gameObject:SetActive(not isShow and SERVER_VERSION == 0)
|
||||
this.TargetRoot.gameObject:SetActive(not isShow)
|
||||
this.leftDown.gameObject:SetActive(isShow)
|
||||
this.heroGridtip1.gameObject:SetActive(not isShow)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
--- 无尽副本
|
||||
--- 无尽副本
|
||||
--- Generated by EmmyLua(https://github.com/EmmyLua)
|
||||
--- Created by aaa.
|
||||
--- DateTime: 2019/7/30 16:30
|
||||
|
|
@ -551,7 +551,7 @@ function EndLessMapView:InitCompShow(carbonType)
|
|||
this.selectHeroGrid.gameObject:SetActive(true)
|
||||
this.enemyInfo.gameObject:SetActive(false)
|
||||
this.shiQi.gameObject:SetActive(true)
|
||||
this.endLessTreasure.gameObject:SetActive(true)
|
||||
this.endLessTreasure.gameObject:SetActive(SERVER_VERSION == 0)
|
||||
end
|
||||
-- ================================================
|
||||
-- ============ 初始化设置 =========================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
require("Modules/Map/Logic/TileMapView")
|
||||
require("Modules/Map/Logic/TileMapView")
|
||||
local this = {}
|
||||
local ctrlView = require("Modules/Map/View/MapControllView")
|
||||
|
||||
|
|
@ -22,7 +22,7 @@ local idleFunc = function()
|
|||
this.NpcGO:SetWalkDir(WALK_DIR.IDLE_FRONT)
|
||||
end
|
||||
end
|
||||
local index = Random.Range(9,11)
|
||||
local index = math.random(9,11)
|
||||
local AnimTimer = Timer.New(function ()
|
||||
if not isRoleWalk and this.leader then--SkeletonGraphic and
|
||||
PlayUIAnim(Util.GetGameObject(this.leader, "root/ui/arrow"))
|
||||
|
|
|
|||
|
|
@ -276,7 +276,8 @@ function RecruitMainPanel:RemoveListener()
|
|||
end
|
||||
|
||||
--界面打开时调用(用于子类重写)
|
||||
function RecruitMainPanel:OnOpen(_index)
|
||||
function RecruitMainPanel:OnOpen(_index)
|
||||
self.dicData = RecruitManager.GetRecruitData()
|
||||
if not _index then
|
||||
if GuideManager.IsInMainGuide() and GuideManager.GetCurId(1) == 105 then
|
||||
self.CurRecruitId = TableRecruitType.Putong
|
||||
|
|
@ -285,7 +286,21 @@ function RecruitMainPanel:OnOpen(_index)
|
|||
elseif GuideManager.IsFunctionGuideExist() then
|
||||
self.CurRecruitId = TableRecruitType.Siyuanzhen
|
||||
else
|
||||
self.CurRecruitId = RecruitManager.CurRecruitId
|
||||
local isRed = 0
|
||||
for i = 1,self.dicData do
|
||||
if self.dicData[i].RpType and self.dicData[i].RpType > 0 then
|
||||
if RecruitManager.GetAllRecruitBtnRedpoint(self.dicData[i].RpType) then
|
||||
isRed = self.dicData[i].ShopData[1][1]
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
if isRed > 0 then
|
||||
self.CurRecruitId = isRed
|
||||
else
|
||||
self.CurRecruitId = RecruitManager.CurRecruitId
|
||||
end
|
||||
|
||||
end
|
||||
else
|
||||
self.CurRecruitId = _index
|
||||
|
|
@ -296,7 +311,6 @@ end
|
|||
-- 打开,重新打开时回调
|
||||
function RecruitMainPanel:OnShow()
|
||||
orginLayer = self.sortingOrder
|
||||
self.dicData = RecruitManager.GetRecruitData()
|
||||
this:RefreshTabData()
|
||||
for i = 1,#self.dicData do
|
||||
if self.dicData[i].ShopData[1][1] == self.CurRecruitId then
|
||||
|
|
@ -500,6 +514,5 @@ function RecruitMainPanel:OnDestroy()
|
|||
self.dicData = {}
|
||||
SubUIManager.Close(this.upView)
|
||||
this.upView = nil
|
||||
self.dicData = {}
|
||||
end
|
||||
return this
|
||||
|
|
@ -36,18 +36,22 @@ function this.InitData(func)
|
|||
end
|
||||
|
||||
function this.InitDataList(id)
|
||||
local configs = ConfigManager.GetAllConfigsDataByKey(ConfigName.LingLongPool,"ActivityId",id)
|
||||
for i = 1 ,#configs do
|
||||
local data = {}
|
||||
data.id = configs[i].Id
|
||||
data.reward = configs[i].ItemId
|
||||
data.rate = configs[i].FakeRate
|
||||
data.typeIndex = configs[i].Position
|
||||
data.address = configs[i].Address
|
||||
data.sort = configs[i].Sort
|
||||
data.state = 0
|
||||
rewardList[configs[i].Id] = data
|
||||
end
|
||||
local configs = ConfigManager.TryGetConfigDataByKey(ConfigName.LingLongPool,"ActivityId",id)
|
||||
if configs then
|
||||
for i = 1 ,#configs do
|
||||
local data = {}
|
||||
data.id = configs[i].Id
|
||||
data.reward = configs[i].ItemId
|
||||
data.rate = configs[i].FakeRate
|
||||
data.typeIndex = configs[i].Position
|
||||
data.address = configs[i].Address
|
||||
data.sort = configs[i].Sort
|
||||
data.state = 0
|
||||
rewardList[configs[i].Id] = data
|
||||
end
|
||||
else
|
||||
LogError("LingLongPool 中未找到 ActivityId :".. id)
|
||||
end
|
||||
end
|
||||
|
||||
function this.GetRewardList()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
UpView = {}
|
||||
UpView = {}
|
||||
local ArenaSetting = ConfigManager.GetConfig(ConfigName.ArenaSetting)
|
||||
local StoreTypeConfig = ConfigManager.GetConfig(ConfigName.StoreTypeConfig)
|
||||
local _ItemMaxNum = 4
|
||||
|
|
@ -324,6 +324,11 @@ function UpView:RechargeType(_type)
|
|||
elseif _type == UpViewRechargeType.HeroExchange then--神将置换
|
||||
UIManager.OpenPanel(UIName.ElementDrawCardPanel)
|
||||
elseif _type == UpViewRechargeType.DemonCrystal then
|
||||
LogError(tostring(SERVER_VERSION))
|
||||
if SERVER_VERSION == 1 then
|
||||
JumpManager.GoJump(36010)
|
||||
return
|
||||
end
|
||||
-- 充值商店
|
||||
if not ShopManager.IsActive(SHOP_TYPE.SOUL_STONE_SHOP) then
|
||||
PopupTipPanel.ShowTip(Language[10422])
|
||||
|
|
|
|||
|
|
@ -297,7 +297,7 @@ namespace GameEditor.FrameTool
|
|||
//}
|
||||
// 初始化数据
|
||||
updateName = dir_name + "_" + dir_cdn_setting + "_" + DateTime.Now.ToString("yyyy_MM_dd_HH_mm_ss");
|
||||
changeFileName = updateName.Replace("/", "$");
|
||||
changeFileName = updateName.Replace("/", "_");
|
||||
logName = changeFileName + "_UpLoad";
|
||||
tagName = "hotfix/" + dir_name + "/" + dir_cdn_setting + "/" + local_version.version;
|
||||
EditorUtility.DisplayProgressBar("正在获取数据:", updateName, 0f);
|
||||
|
|
@ -374,6 +374,8 @@ namespace GameEditor.FrameTool
|
|||
new string[]{ "Quick", "mht_china/zf", "cdn_quick", "china/zf_test" },
|
||||
new string[]{ "游心", "mht_china/zf", "cdn_youxin", "china/zf_test" },
|
||||
|
||||
new string[]{ "Quick", "mht_china/zf", "cdn_ios", "china/ios" },
|
||||
|
||||
new string[]{ "先遣-内网", "mht_china/local", "local12_cn_local", "china/local" },
|
||||
new string[]{ "先遣-测试", "mht_china/xq", "cdn_xq_test", "china/test" },
|
||||
new string[]{ "先遣-正式", "mht_china/xq", "cdn_xq_release", "china/test" },
|
||||
|
|
@ -613,13 +615,19 @@ namespace GameEditor.FrameTool
|
|||
foreach (ResourceFile rf in updateList)
|
||||
{
|
||||
EditorUtility.DisplayProgressBar("正在复制文件:" + toPath, rf.fileName, (float)i/updateList.Count);
|
||||
string dirName = Path.GetDirectoryName(toPath + rf.fileName);
|
||||
if (!Directory.Exists(dirName))
|
||||
{
|
||||
Directory.CreateDirectory(dirName);
|
||||
}
|
||||
|
||||
File.Copy(fromPath + rf.fileName, toPath + rf.fileName, true);
|
||||
log.Add(rf.fileName);
|
||||
}
|
||||
File.Copy(fromPath + UpdateConfigs.FILES, toPath + UpdateConfigs.FILES, true);
|
||||
log.Add(UpdateConfigs.FILES);
|
||||
// write logf
|
||||
string logName = updateName.Replace("/", "$");
|
||||
string logName = updateName.Replace("/", "_");
|
||||
EditorUtility.DisplayProgressBar("正在生成Log文件:", logName, 1f);
|
||||
WriteLog(toPath+"/_log", logName, log.ToArray());
|
||||
// git commit
|
||||
|
|
@ -647,7 +655,7 @@ namespace GameEditor.FrameTool
|
|||
}
|
||||
// 初始化数据
|
||||
updateName = hfs.dir_name + "_" + hfs.dir_cdn_setting + "_" + DateTime.Now.ToString("yyyy_MM_dd_HH_mm_ss");
|
||||
changeFileName = updateName.Replace("/", "$");
|
||||
changeFileName = updateName.Replace("/", "_");
|
||||
logName = changeFileName + "_UpLoad";
|
||||
EditorUtility.DisplayProgressBar("正在获取数据:", updateName, 0f);
|
||||
log.Add("热更文件版本:" + updateName);
|
||||
|
|
|
|||
|
|
@ -133,7 +133,13 @@ namespace GameEditor.Util
|
|||
EditorUtility.DisplayDialog("提示", "文件不存在", "确定");
|
||||
return;
|
||||
}
|
||||
#if PLATFORM_IOS
|
||||
ProcessCommand(Application.dataPath, "open " + tPath); //用记事本
|
||||
|
||||
#else
|
||||
System.Diagnostics.Process.Start("notepad.exe", tPath); //用记事本
|
||||
|
||||
#endif
|
||||
}
|
||||
//返回 数组第一个是文件夹路径 ,以后的是文件名字
|
||||
public static string[] OpenFileWin(string path,string ext = "*.*")
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue