修改提交

dev_chengFeng
jiaoyangna 2021-09-16 17:29:16 +08:00
parent 6c5552524b
commit da21b0ba37
1 changed files with 3 additions and 0 deletions

View File

@ -48,6 +48,7 @@ function XunBaoMiZongMap:BindEvent()
self.effect:GetComponent("RectTransform").anchoredPosition3D = Vector3.New(self.rewardPos.x, self.rewardPos.y, 10)
self.effect:SetActive(true)
self.btnGet.gameObject:GetComponent("Button").interactable = false
self.btnBack.gameObject:GetComponent("Button").interactable = true
cantWalk = true
SoundManager.PlaySound("UI_021")
Timer.New(function ()
@ -86,6 +87,8 @@ function XunBaoMiZongMap:OnShow()
end
cantWalk = true
self.btnGet.gameObject:GetComponent("Button").interactable = true
self.btnBack.gameObject:GetComponent("Button").interactable = true
self.btnGet.sprite = self.spLoader:LoadSprite("x_xbmz_xunbaoanniu01")
self.liveNode = PlayerLiveView:New(self.roleRoot,1)
self.liveNode:OnOpen(300,Vector3.zero,WALK_DIR.IDLE_FRONT)
self.liveNode:SetTitleHide()