【御剑行】提交
parent
4d911a4ea4
commit
2fda9c77ff
|
@ -152,7 +152,10 @@ function RiceSinglePlayerView:SetPlayerAndSword()
|
|||
if self.liveNode then
|
||||
self.liveNode:OnClose()
|
||||
end
|
||||
self.liveNode = PlayerLiveView:New(self.playerLiveRoot,1)
|
||||
local data = {}
|
||||
data.skin = 80012
|
||||
data.sex = YuJianXingManager.modelList[self.index].sex
|
||||
self.liveNode = PlayerLiveView:New(self.playerLiveRoot,2,data)
|
||||
self.liveNode:OnOpen(18,Vector3.zero,WALK_DIR.IDLE_RIGHT)
|
||||
self.liveNode:SetTitleHide()
|
||||
|
||||
|
|
|
@ -138,7 +138,6 @@ function this.CheckRedPoint()
|
|||
state2 = true
|
||||
end
|
||||
end
|
||||
LogError(tostring(state1 or state2))
|
||||
return state1 or state2
|
||||
end
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ function YuJianXingPanel:InitComponent()
|
|||
self.nextRoundTime = Util.GetGameObject(self.gameObject, "Bgs/Up/Board/time2"):GetComponent("Text")
|
||||
self.canBetTime = Util.GetGameObject(self.gameObject, "Bgs/Up/Board/time3"):GetComponent("Text")
|
||||
--Bg
|
||||
self.bg = Util.GetGameObject(self.gameObject, "Bgs/Bg")
|
||||
self.bg = Util.GetGameObject(self.gameObject, "Bgs")
|
||||
--count
|
||||
self.countFrame = Util.GetGameObject(self.gameObject, "StartAni")
|
||||
self.countFrame:SetActive(false)
|
||||
|
@ -33,7 +33,7 @@ function YuJianXingPanel:InitComponent()
|
|||
self.waiting = Util.GetGameObject(self.gameObject, "Waiting")
|
||||
self.waitTime = Util.GetGameObject(self.waiting, "time"):GetComponent("Text")
|
||||
--upview
|
||||
self.UpView = SubUIManager.Open(SubUIConfig.UpView, self.gameObject.transform, { showType = UpViewOpenType.ShowLeft })
|
||||
self.UpView = SubUIManager.Open(SubUIConfig.UpView, self.bg.transform, { showType = UpViewOpenType.ShowLeft })
|
||||
end
|
||||
|
||||
--绑定事件(用于子类重写)
|
||||
|
|
Loading…
Reference in New Issue