PantheonPrototype.DialogueManager.EndConversation C# (CSharp) 메소드

EndConversation() 공개 메소드

Ends all current conversations and resets the conversation handles and anchors.
public EndConversation ( string entityName ) : void
entityName string
리턴 void
        public void EndConversation(string entityName)
        {
            this.currentConversation = null;
            this.currentConversationState = 0;

            // If there is an active text bubble, remember to kill it before nulling.
            if (this.currentConversationBubble != null)
            {
                this.currentConversationBubble.isReadyForDeletion = true;
                this.currentConversationBubble = null;
            }

            // Switch the NPC's talking state off.
            this.npcStates[entityName] = DialogueManager.STATE_NONE;
        }