修改bug
parent
636a7bc3eb
commit
edebfb4d63
|
@ -77,9 +77,9 @@ function PlayerView:onCreate(go, role, position, root)
|
|||
end
|
||||
self.livePath = GetResourcePath(live)
|
||||
self.livePath2=GetResourcePath(HeroConfig[role.roleData.roleId].Painting)
|
||||
if role.roleData.roleId==10016 or role.roleData.roleId== 21063 then
|
||||
self.livePath2=GetResourcePath(HeroConfig[role.roleData.roleId].Painting)
|
||||
end
|
||||
-- if role.roleData.roleId==10016 or role.roleData.roleId== 21063 then
|
||||
-- self.livePath2=GetResourcePath(HeroConfig[role.roleData.roleId].Painting)
|
||||
-- end
|
||||
end
|
||||
self.play_liveScale = RoleConfig[roleId].play_liveScale
|
||||
self.enemy_liveScale = RoleConfig[roleId].enemy_liveScale
|
||||
|
@ -198,7 +198,7 @@ function PlayerView:onCreate(go, role, position, root)
|
|||
-- self.liveRender.gameObject:SetActive(true)
|
||||
-- self.liveRender.material:SetInt("_IsMask", 1)
|
||||
-- casting技能立绘
|
||||
|
||||
LogRed("painting=="..self.livePath2)
|
||||
self.RoleLiveGO2 = poolManager:LoadLive(self.livePath2, go.transform.parent, Vector3.one, Vector3.zero)
|
||||
self.RoleLiveGO2.transform:SetParent(self.RootPanel.mySkillCastRoot.transform)
|
||||
self.RoleLiveGO2.transform.localScale = Vector3.one * self.enemy_liveScale -- * 0.75--* 1.5
|
||||
|
|
Loading…
Reference in New Issue