[战斗]======立绘方向修改

dev_chengFeng
wangzhenxing 2021-11-26 11:24:46 +08:00
parent 4c7268b11a
commit bb1402d5e7
2 changed files with 4 additions and 0 deletions

View File

@ -686,6 +686,8 @@ function EnemyView:onDispose()
Util.SetColor(self.RoleLiveGOGraphic2, Color.New(1, 1, 1, 1))
self.RoleLiveGOGraphic.freeze = false
self.RoleLiveGOGraphic2.freeze = false
self.RoleLiveGO:GetComponent("RectTransform").rotation = Quaternion.Euler(Vector3.New(0,0, 0))
self.RoleLiveGO2:GetComponent("RectTransform").rotation = Quaternion.Euler(Vector3.New(0,0, 0))
poolManager:UnLoadLive(self.livePath, self.RoleLiveGO)
poolManager:UnLoadLive(self.livePath, self.RoleLiveGO2)
-- 回收本节点

View File

@ -754,6 +754,8 @@ function PlayerView:onDispose()
Util.SetColor(self.RoleLiveGOGraphic2, Color.New(1, 1, 1, 1))
self.RoleLiveGOGraphic.freeze = false
self.RoleLiveGOGraphic2.freeze = false
self.RoleLiveGO:GetComponent("RectTransform").rotation = Quaternion.Euler(Vector3.New(0,0, 0))
self.RoleLiveGO2:GetComponent("RectTransform").rotation = Quaternion.Euler(Vector3.New(0,0, 0))
poolManager:UnLoadLive(self.livePath, self.RoleLiveGO2)
poolManager:UnLoadLive(self.livePath, self.RoleLiveGO)
-- 回收本节点