コード例 #1
0
    private void CleanDisplay(bool p_removeDialogWindow)
    {
        if (!m_dialogWindow)
        {
            return;
        }

        if (p_removeDialogWindow)
        {
            DialogWindow.m_openedWindows.Remove(m_dialogWindow);

            Destroy(m_dialogWindow.gameObject);
            m_dialogWindow = null;
            m_interactor.m_interactingWithNPC = false;
            m_interactor       = null;
            m_introducingQuest = null;
        }
        else
        {
            m_dialogWindow.Clear();
        }
    }