文本系统重做完成
This commit is contained in:
@@ -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)
|
||||
{
|
||||
// 回收旧泡泡
|
||||
|
||||
Reference in New Issue
Block a user