文本系统重做完成

This commit is contained in:
2025-11-12 20:00:18 +08:00
parent 845ac9cc27
commit ef260e5d43
18 changed files with 311 additions and 293 deletions
@@ -16,19 +16,10 @@ namespace AibisDream
[SerializeField] private TMP_Text widthEstimation;
[SerializeField] private CenterBubble centerBubble;
private Dictionary<ActorRole, Bubble[]> _bubbleDict;
private Dictionary<ActorRole, Bubble[]> _bubbleDict = new();
private BubbleFactory _bubbleFactory;
private CancellationTokenSource _autoHideToken;
#region
private Action _nextStep;
private IBubble _curBubble;
private IUnRegister _unRegister;
#endregion
#region
public override void OnSingletonInit()
@@ -37,11 +28,6 @@ namespace AibisDream
_bubbleFactory = new BubbleFactory(transform);
}
public override void OnSingletonDestroy()
{
_unRegister.UnRegister();
}
public void LoadBubbles(BubbleSlotGroupData groupData)
{
// 回收旧泡泡