【大闹天宫】战斗结束点击无反应

dev_chengFeng
ZhangBiao 2021-03-19 17:05:26 +08:00
parent dfb4de8811
commit 0adef18b30
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ function this:OnOpen(heroTId,skinId, damageValue, allDamage, func,_func2)
this.liveName = GetResourcePath(heroTData.Live)
this.liveNode = poolManager:LoadLive(this.liveName, this.firstRole.transform, Vector3.one * heroTData.Scale, Vector3.New(heroTData.Position[1], heroTData.Position[2]))
this.liveNode.transform.sizeDelta = Vector2.New(1000, 1000)
this.liveNode.transform.sizeDelta = Vector2.New(10, 10)
local SkeletonGraphic = this.liveNode:GetComponent("SkeletonGraphic")
local idle = function()
SkeletonGraphic.AnimationState:SetAnimation(0, "idle", true)