onepiece_demo_arena
xiejun 2023-08-15 13:31:06 +08:00
parent bbde945918
commit 49df3050d1
3 changed files with 611 additions and 611 deletions

View File

@ -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

View File

@ -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