战斗立绘显示修改
parent
30ec21fe05
commit
d377552a80
|
@ -217,7 +217,7 @@ function this.OnNameChange()
|
|||
-- 删除原来的
|
||||
GameObject.DestroyImmediate(monster.RoleLiveGO2)
|
||||
-- casting技能立绘 替换成女角色
|
||||
monster.livePath="live2d_npc_girl"
|
||||
monster.livePath="live2d_namei"
|
||||
monster.RoleLiveGO2 = poolManager:LoadLive(monster.livePath, monster.skillCastRoot.gameObject.transform.parent, Vector3.one, Vector3.zero)
|
||||
monster.RoleLiveGO2.transform:SetParent(monster.skillCastRoot.gameObject.transform)
|
||||
monster.RoleLiveGO2:GetComponent("RectTransform").anchoredPosition = Vector2.New(monster.offset[1], monster.offset[2])
|
||||
|
|
Loading…
Reference in New Issue