fix bug
parent
70cd06da2b
commit
54aae5181f
File diff suppressed because it is too large
Load Diff
|
@ -798,7 +798,7 @@ function RoleView:OnSkillCast(skill)
|
||||||
-- 立绘位置剧中
|
-- 立绘位置剧中
|
||||||
if self.rlgTween3 then self.rlgTween3:Kill() end
|
if self.rlgTween3 then self.rlgTween3:Kill() end
|
||||||
self.rlgTween3 = self.RoleLiveGO.transform:DOLocalMove(Vector3.New(self.outOffset[1], self.outOffset[2] - 220, 0), 0.3, false):SetEase(Ease.OutSine)
|
self.rlgTween3 = self.RoleLiveGO.transform:DOLocalMove(Vector3.New(self.outOffset[1], self.outOffset[2] - 220, 0), 0.3, false):SetEase(Ease.OutSine)
|
||||||
if self.liveRender.transform then
|
if self.liveRender then
|
||||||
self.liveRender.transform:SetParent(Util.GetGameObject(self.GameObject, "Mask2").transform)
|
self.liveRender.transform:SetParent(Util.GetGameObject(self.GameObject, "Mask2").transform)
|
||||||
end
|
end
|
||||||
local cardRenderMat = self.liveRender.material
|
local cardRenderMat = self.liveRender.material
|
||||||
|
|
|
@ -22,8 +22,12 @@ function this.Show()
|
||||||
this.content.text = this.config.Question
|
this.content.text = this.config.Question
|
||||||
this.liveNode = poolManager:LoadLive("live2d_c_yj_00040", this.liveRoot.transform, Vector3.one, Vector3.New(0,57, 0))
|
this.liveNode = poolManager:LoadLive("live2d_c_yj_00040", this.liveRoot.transform, Vector3.one, Vector3.New(0,57, 0))
|
||||||
|
|
||||||
for _, item in pairs(_itemsList) do
|
for index, item in pairs(_itemsList) do
|
||||||
item:SetActive(false)
|
if item then
|
||||||
|
item:SetActive(false)
|
||||||
|
else
|
||||||
|
_itemsList[index] = nil
|
||||||
|
end
|
||||||
end
|
end
|
||||||
local aIdList = string.split(this.config.Answer, "#")--id列表
|
local aIdList = string.split(this.config.Answer, "#")--id列表
|
||||||
--设置按钮和图片
|
--设置按钮和图片
|
||||||
|
|
Loading…
Reference in New Issue