DESKTOP-RH64908\Administrator 2026-01-30 14:02:54 +08:00
parent ddb3a4a9b8
commit 20a4a46f30
1 changed files with 3 additions and 1 deletions

View File

@ -966,7 +966,9 @@ function SkillCaster:RoleViewBullet(combat, target)
go.transform.position = self.owner.GameObject.transform.position
Util.ClearTrailRender(go)
go:SetActive(true)
local sortingOrder = self.owner.role.camp == 0 and
self.owner.GameObject:GetComponent("Canvas").sortingOrder + 21 or BattleManager.GetBattleSorting() + 20
Util.AddParticleSortLayer(go, sortingOrder)
-- local startV3 = go.transform.position
-- local endV3 = self.owner.RootPanel.GetRoleView(target).GameObject.transform.position