Exemple #1
0
    public override void Begin()
    {
        if (!currentItem)
        {
            searchView.Begin();
            End();
            return;
        }
        dialogManager.OnFinished += OnDialogComplete;

        currentItem.hasBeenFound = true;
        Item.unlocked++;
        if (triggerTutorial)
        {
            currentItem.dialog.Enqueues = introDialog;
            triggerTutorial             = false;
        }
        else
        {
            currentItem.dialog.Enqueues = null;
        }

        dialogManager.Play(currentItem.dialog);
    }