C# 클래스 Fungus.ConversationManager

Helper class to manage parsing and executing the conversation format.
상속: MonoBehaviour
파일 보기 프로젝트 열기: CG-Tespy/Fungus-Slot-based-Narrative-System 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
characters Fungus.Character[]
exitSayWait bool

공개 메소드들

메소드 설명
ConversationManager ( ) : System.Collections
DoConversation ( string conv ) : IEnumerator

Parse and execute a conversation string.

PopulateCharacterCache ( ) : void

Caches the character objects in the scene for fast lookup during conversations.

PreParse ( string conv ) : List
PreParse ( string conv, System.Action itemAction ) : void

보호된 메소드들

메소드 설명
CreateConversationItem ( Array sayParams, string text, Character currentCharacter ) : ConversationItem

Using the string of say parameters before the ':', set the current character, position and portrait if provided.

GetSayDialog ( Character character ) : SayDialog
Parse ( string conv ) : List
Split ( string stringToSplit ) : string[]

메소드 상세

ConversationManager() 공개 메소드

public ConversationManager ( ) : System.Collections
리턴 System.Collections

CreateConversationItem() 보호된 메소드

Using the string of say parameters before the ':', set the current character, position and portrait if provided.
protected CreateConversationItem ( Array sayParams, string text, Character currentCharacter ) : ConversationItem
sayParams Array The list of say parameters.
text string The text for the character to say.
currentCharacter Character The currently speaking character.
리턴 ConversationItem

DoConversation() 공개 메소드

Parse and execute a conversation string.
public DoConversation ( string conv ) : IEnumerator
conv string
리턴 IEnumerator

GetSayDialog() 보호된 메소드

protected GetSayDialog ( Character character ) : SayDialog
character Character
리턴 SayDialog

Parse() 보호된 메소드

protected Parse ( string conv ) : List
conv string
리턴 List

PopulateCharacterCache() 공개 메소드

Caches the character objects in the scene for fast lookup during conversations.
public PopulateCharacterCache ( ) : void
리턴 void

PreParse() 공개 정적인 메소드

public static PreParse ( string conv ) : List
conv string
리턴 List

PreParse() 공개 정적인 메소드

public static PreParse ( string conv, System.Action itemAction ) : void
conv string
itemAction System.Action
리턴 void

Split() 보호된 정적인 메소드

protected static Split ( string stringToSplit ) : string[]
stringToSplit string
리턴 string[]

프로퍼티 상세

characters 보호되어 있는 프로퍼티

protected Character[],Fungus characters
리턴 Fungus.Character[]

exitSayWait 보호되어 있는 프로퍼티

protected bool exitSayWait
리턴 bool