screen
This commit is contained in:
@@ -6,9 +6,19 @@ namespace AibisDream
|
||||
{
|
||||
[SerializeField] protected GameObject choiceButton;
|
||||
|
||||
protected override void LoadChoiceButton()
|
||||
private void Start()
|
||||
{
|
||||
// 初始化选择按钮
|
||||
choiceButtonPrefab = choiceButton;
|
||||
// 注册Viewer
|
||||
DialogCanvasManager.Instance.RegisterDialogView(DialogViewType.OldBox, this);
|
||||
|
||||
gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
protected override void OnDialogViewerDestroy()
|
||||
{
|
||||
DialogCanvasManager.Instance.UnregisterDialogView(DialogViewType.OldBox);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user