神器:把之前屏蔽的神器功能打开
This commit is contained in:
parent
cd81e3e931
commit
339a2f6d56
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -629,6 +629,7 @@ function LuaBattleMgr:RefreshRewardNum()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function LuaBattleMgr:OnRefreshRewardTime()
|
function LuaBattleMgr:OnRefreshRewardTime()
|
||||||
|
if type(self.RefreshRewardNum) ~= "function" then return end
|
||||||
self:RefreshRewardNum()
|
self:RefreshRewardNum()
|
||||||
--self.leftRewardTime = self.leftRewardTime - 1
|
--self.leftRewardTime = self.leftRewardTime - 1
|
||||||
if self.leftRewardTime <= 0 then
|
if self.leftRewardTime <= 0 then
|
||||||
|
|||||||
@ -4,7 +4,6 @@ local boliPos = Vector2.zero
|
|||||||
local expandSize = Vector2.zero
|
local expandSize = Vector2.zero
|
||||||
local offset = Vector2.zero
|
local offset = Vector2.zero
|
||||||
|
|
||||||
local lateUpdateBeat
|
|
||||||
function UIForceGuideView:OnAwake(data)
|
function UIForceGuideView:OnAwake(data)
|
||||||
self.controller = require("UIGuide/UIForceGuideCtr"):new()
|
self.controller = require("UIGuide/UIForceGuideCtr"):new()
|
||||||
self.controller:Init(self)
|
self.controller:Init(self)
|
||||||
@ -31,11 +30,11 @@ end
|
|||||||
function UIForceGuideView:Init()
|
function UIForceGuideView:Init()
|
||||||
ManagerContainer.LuaEventMgr:Dispatch(UIEventNames.PRIVATER_CHAT_BTN_DISPLAY, false)
|
ManagerContainer.LuaEventMgr:Dispatch(UIEventNames.PRIVATER_CHAT_BTN_DISPLAY, false)
|
||||||
|
|
||||||
if not lateUpdateBeat then
|
if not self.lateUpdateBeat then
|
||||||
lateUpdateBeat = LateUpdateBeat:CreateListener(self.LateUpdate, self)
|
self.lateUpdateBeat = LateUpdateBeat:CreateListener(self.LateUpdate, self)
|
||||||
end
|
end
|
||||||
|
|
||||||
LateUpdateBeat:AddListener(lateUpdateBeat)
|
LateUpdateBeat:AddListener(self.lateUpdateBeat)
|
||||||
self.maskCloseDelayTime = 0
|
self.maskCloseDelayTime = 0
|
||||||
self.delayFunc = nil
|
self.delayFunc = nil
|
||||||
self.target = nil
|
self.target = nil
|
||||||
@ -299,9 +298,9 @@ function UIForceGuideView:OnClose()
|
|||||||
self.errorOverTimer = nil
|
self.errorOverTimer = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
if lateUpdateBeat ~= nil then
|
if self.lateUpdateBeat ~= nil then
|
||||||
LateUpdateBeat:RemoveListener(lateUpdateBeat)
|
LateUpdateBeat:RemoveListener(self.lateUpdateBeat)
|
||||||
lateUpdateBeat = nil
|
self.lateUpdateBeat = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
self.delayFunc = nil
|
self.delayFunc = nil
|
||||||
|
|||||||
@ -418,10 +418,7 @@ function UIRoleMain1View:Refresh()
|
|||||||
self:RefreshCardSuitBtn()
|
self:RefreshCardSuitBtn()
|
||||||
|
|
||||||
self:RefreshSkillEquip()
|
self:RefreshSkillEquip()
|
||||||
|
self.artifact:SetActive(isLeader or logicData.owned)
|
||||||
-- TODO: 屏蔽神器
|
|
||||||
--self.artifact:SetActive(isLeader or logicData.owned)
|
|
||||||
self.artifact:SetActive(false)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function UIRoleMain1View:InitRoleNatureIcon()
|
function UIRoleMain1View:InitRoleNatureIcon()
|
||||||
|
|||||||
@ -15,7 +15,7 @@ MonoBehaviour:
|
|||||||
ProjectConf:
|
ProjectConf:
|
||||||
projectName: minigame
|
projectName: minigame
|
||||||
Appid: wx94eecfb4cfafcde5
|
Appid: wx94eecfb4cfafcde5
|
||||||
CDN: https://cdn.jianjia-cangcang.tech/game/3
|
CDN: https://cdn.jianjia-cangcang.tech/game/6
|
||||||
assetLoadType: 0
|
assetLoadType: 0
|
||||||
compressDataPackage: 1
|
compressDataPackage: 1
|
||||||
VideoUrl:
|
VideoUrl:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user