角色立绘位置改为配表

xiejun 2023-11-10 16:07:52 +08:00
parent 6e1a65aa13
commit 10ade04a60
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ function this.SetCardSingleData(o,monsterId, _pos)
local liveName = GetResourcePath(heroConfig.Live)
local roleConfig = ConfigManager.GetConfigData(ConfigName.RoleConfig, heroConfig.Id)
local scale = roleConfig.play_liveScale
local livePos = Vector3.New(roleConfig.offset[1], roleConfig.offset[2], 0)
local livePos = Vector3.New(roleConfig.offset[1], roleConfig.offset[2]+300, 0)
live.texture = CardRendererManager.GetSpineTexture(_pos, liveName, Vector3.one * scale, livePos, true)
live.transform.localScale = Vector3.one
live.transform.localPosition = Vector3.zero