继续
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using Continentis.MainGame.Character;
|
||||
using Lean.Pool;
|
||||
using SLSFramework.General;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Continentis.MainGame.UI
|
||||
@@ -23,7 +24,8 @@ namespace Continentis.MainGame.UI
|
||||
{
|
||||
HUD_CharacterBuffIcon buffIcon = LeanPool.Spawn(buffIconPrefab, buffContainer).GetComponent<HUD_CharacterBuffIcon>();
|
||||
buffIcon.Initialize(buff);
|
||||
buffIcons.Add(buffIcon);
|
||||
buffIcons.AddByPriority(buffIcon);
|
||||
buffIcon.transform.SetSiblingIndex(buffIcons.IndexOf(buffIcon));
|
||||
UpdateHud();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user