【大闹天宫】战斗结束点击无反应
parent
dfb4de8811
commit
0adef18b30
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue