onepiece_demo_arena
parent
bbde945918
commit
49df3050d1
|
@ -96,7 +96,7 @@ function EnemyView:onCreate(go, role, position, root, isBoss,enemyId)
|
|||
self.RoleLiveGO = poolManager:LoadLive(self.livePath, go.transform.parent, Vector3.one, Vector3.zero)
|
||||
self.RoleLiveGOGraphic = self.RoleLiveGO:GetComponent("SkeletonGraphic")
|
||||
self.RoleLiveGOTran = self.RoleLiveGO:GetComponent("RectTransform")
|
||||
-- self.RoleLiveGOGraphic.AnimationState:SetAnimation(0, "idle", true)
|
||||
self.RoleLiveGOGraphic.AnimationState:SetAnimation(0, "idle", true)
|
||||
self.RoleLiveGOTran.sizeDelta = Vector2.New(1000, 1000)
|
||||
self.RoleLiveGO.transform:SetParent(self.liveRoot.transform)
|
||||
self.RoleLiveGO:GetComponent("RectTransform").anchoredPosition = Vector2.New(self.outOffset[1], self.outOffset[2])-- * 0.5
|
||||
|
|
|
@ -578,7 +578,7 @@ function PlayerView:OnSkillPlay(type,combat)
|
|||
-- name="skill"
|
||||
-- local offset=Vector3.New(self.combat2.Offset[1],self.combat2.Offset[2],0)
|
||||
|
||||
self.RoleSkillLiveGoGraphic2.gameObject.transform.localPosition=Vector3.New(self.combat2.Offset[1],self.combat2.Offset[2],0)
|
||||
-- self.RoleSkillLiveGoGraphic2.gameObject.transform.localPosition=Vector3.New(self.combat2.Offset[1],self.combat2.Offset[2],0)
|
||||
self:PlaySpineAnim(self.RoleSkillLiveGoGraphic2, 0, name, false)
|
||||
end
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue