C# Class ScriptManagerNewTextBox, Adagio

HOW TO USE THIS CODE UPDATE: Format is the same. now supports multiple people speaking in different orders. etc
Inheritance: MonoBehaviour
Afficher le fichier Open project: technicalvgda/Adagio Class Usage Examples

Méthodes publiques

Свойство Type Description
TextButton GameObject
ZimriColor Color
currentLine int
endAtLine int
speaker1 string
speakerLines List
startInitialText bool
startText bool
textBox GameObject
textFile UnityEngine.TextAsset
textLines string[]
theTextPlayer Text
typeSpeed float

Méthodes publiques

Méthode Description
OnTriggerEnter2D ( Collider2D col ) : void
OnTriggerExit2D ( Collider2D col ) : void
OnTriggerStay2D ( Collider2D c ) : void
Start ( ) : void
Update ( ) : void
setTextAndPrepareForOutput ( TextAsset t ) : void

Private Methods

Méthode Description
TextScroll ( string lineOfText, int speakercode ) : IEnumerator

Method Details

OnTriggerEnter2D() public méthode

public OnTriggerEnter2D ( Collider2D col ) : void
col UnityEngine.Collider2D
Résultat void

OnTriggerExit2D() public méthode

public OnTriggerExit2D ( Collider2D col ) : void
col UnityEngine.Collider2D
Résultat void

OnTriggerStay2D() public méthode

public OnTriggerStay2D ( Collider2D c ) : void
c UnityEngine.Collider2D
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

setTextAndPrepareForOutput() public méthode

public setTextAndPrepareForOutput ( TextAsset t ) : void
t UnityEngine.TextAsset
Résultat void

Property Details

TextButton public_oe property

public GameObject TextButton
Résultat GameObject

ZimriColor public_oe property

public Color ZimriColor
Résultat Color

currentLine public_oe property

public int currentLine
Résultat int

endAtLine public_oe property

public int endAtLine
Résultat int

speaker1 public_oe property

public string speaker1
Résultat string

speakerLines public_oe property

public List speakerLines
Résultat List

startInitialText public_oe property

public bool startInitialText
Résultat bool

startText public_oe property

public bool startText
Résultat bool

textBox public_oe property

public GameObject textBox
Résultat GameObject

textFile public_oe property

public TextAsset,UnityEngine textFile
Résultat UnityEngine.TextAsset

textLines public_oe property

public string[] textLines
Résultat string[]

theTextPlayer public_oe property

public Text theTextPlayer
Résultat Text

typeSpeed public_oe property

public float typeSpeed
Résultat float