C# 클래스 Fungus.Character

상속: UnityEngine.MonoBehaviour, ILocalizable
파일 보기 프로젝트 열기: snozbot/fungus 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
activeCharacters List
portaitState Fungus.PortraitState

공개 메소드들

메소드 설명
GetDescription ( ) : string
GetObjectName ( ) : string

Returns the name of the game object.

GetPortrait ( string portraitString ) : Sprite

Looks for a portrait by name on a character If none is found, give a warning and return a blank sprite

GetStandardText ( ) : string
GetStringId ( ) : string
NameStartsWith ( string matchString ) : bool

Returns true if the character name starts with the specified string. Case insensitive.

SetStandardText ( string standardText ) : void

보호된 메소드들

메소드 설명
OnDisable ( ) : void
OnEnable ( ) : void

메소드 상세

GetDescription() 공개 메소드

public GetDescription ( ) : string
리턴 string

GetObjectName() 공개 메소드

Returns the name of the game object.
public GetObjectName ( ) : string
리턴 string

GetPortrait() 공개 메소드

Looks for a portrait by name on a character If none is found, give a warning and return a blank sprite
public GetPortrait ( string portraitString ) : Sprite
portraitString string
리턴 UnityEngine.Sprite

GetStandardText() 공개 메소드

public GetStandardText ( ) : string
리턴 string

GetStringId() 공개 메소드

public GetStringId ( ) : string
리턴 string

NameStartsWith() 공개 메소드

Returns true if the character name starts with the specified string. Case insensitive.
public NameStartsWith ( string matchString ) : bool
matchString string
리턴 bool

OnDisable() 보호된 메소드

protected OnDisable ( ) : void
리턴 void

OnEnable() 보호된 메소드

protected OnEnable ( ) : void
리턴 void

SetStandardText() 공개 메소드

public SetStandardText ( string standardText ) : void
standardText string
리턴 void

프로퍼티 상세

activeCharacters 보호되어 있는 정적으로 프로퍼티

protected static List activeCharacters
리턴 List

portaitState 보호되어 있는 프로퍼티

protected PortraitState,Fungus portaitState
리턴 Fungus.PortraitState