战斗立绘显示修改

onepiece_demo_arena
wangzhenxing 2023-12-08 15:59:06 +08:00
parent 30ec21fe05
commit d377552a80
1 changed files with 1 additions and 1 deletions

View File

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