C# 클래스 Epigene.SpeechBubble

SpeechBubble class to create and manage the bubble with text.
상속: UnityEngine.MonoBehaviour
파일 보기 프로젝트 열기: fi-content2-games-platform/FIcontent.Gaming.Enabler.phenomobilecharactermanager 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
bubbleColor Color
closeButton KeyCode
handler GameObject
id string
nameColor Color
nameOutlineColor Color
onArrow string
onClose string
outlineColor Color
sortingOrder int
tail TailType

공개 메소드들

메소드 설명
Awake ( ) : void

Create the text and set the tail on bubble

ButtonArrow ( ) : void

Function to handle the arrow button

ButtonClose ( ) : void

Function to handle the close button

OnDisable ( ) : void

Disable the bubble

OnEnable ( ) : void

Enable the bubble

SetActive ( bool flag ) : void

Helper to activate the gameobject

SetColor ( ) : void

Set the color of each parts

SetTail ( TailType tail ) : void

Enable the selected tail

SetTail ( string id ) : void

Set the tail orientation based on id

Start ( ) : void

Start the bubble, lets init some stuff

Update ( ) : void

Update the bubble with some anims TODO use trigger in start instead of this..

비공개 메소드들

메소드 설명
WaitSomeSeconds ( ) : IEnumerator

메소드 상세

Awake() 공개 메소드

Create the text and set the tail on bubble
public Awake ( ) : void
리턴 void

ButtonArrow() 공개 메소드

Function to handle the arrow button
public ButtonArrow ( ) : void
리턴 void

ButtonClose() 공개 메소드

Function to handle the close button
public ButtonClose ( ) : void
리턴 void

OnDisable() 공개 메소드

Disable the bubble
public OnDisable ( ) : void
리턴 void

OnEnable() 공개 메소드

Enable the bubble
public OnEnable ( ) : void
리턴 void

SetActive() 공개 메소드

Helper to activate the gameobject
public SetActive ( bool flag ) : void
flag bool
리턴 void

SetColor() 공개 메소드

Set the color of each parts
public SetColor ( ) : void
리턴 void

SetTail() 공개 메소드

Enable the selected tail
public SetTail ( TailType tail ) : void
tail TailType
리턴 void

SetTail() 공개 메소드

Set the tail orientation based on id
public SetTail ( string id ) : void
id string
리턴 void

Start() 공개 메소드

Start the bubble, lets init some stuff
public Start ( ) : void
리턴 void

Update() 공개 메소드

Update the bubble with some anims TODO use trigger in start instead of this..
public Update ( ) : void
리턴 void

프로퍼티 상세

bubbleColor 공개적으로 프로퍼티

public Color bubbleColor
리턴 Color

closeButton 공개적으로 프로퍼티

Key for close bubble
public KeyCode closeButton
리턴 KeyCode

handler 공개적으로 프로퍼티

Handler object for buttons
public GameObject handler
리턴 GameObject

id 공개적으로 프로퍼티

public string id
리턴 string

nameColor 공개적으로 프로퍼티

public Color nameColor
리턴 Color

nameOutlineColor 공개적으로 프로퍼티

public Color nameOutlineColor
리턴 Color

onArrow 공개적으로 프로퍼티

Function name to call in handler in case of click on arrow
public string onArrow
리턴 string

onClose 공개적으로 프로퍼티

Function name to call in handler in case of click on close
public string onClose
리턴 string

outlineColor 공개적으로 프로퍼티

public Color outlineColor
리턴 Color

sortingOrder 공개적으로 프로퍼티

sorting order of sprites
public int sortingOrder
리턴 int

tail 공개적으로 프로퍼티

public TailType tail
리턴 TailType