C# Class NewTextBox, Adagio

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

Public Properties

Property Type Description
TextButton GameObject
speaker1 string
textBox GameObject
textFile UnityEngine.TextAsset
theTextPlayer Text
typeSpeed float

Public Methods

Method Description
OnTriggerEnter2D ( Collider2D col ) : void
OnTriggerExit2D ( Collider2D col ) : void
OnTriggerStay2D ( Collider2D c ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
TextScroll ( string lineOfText, int speakercode ) : IEnumerator

Method Details

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D col ) : void
col UnityEngine.Collider2D
return void

OnTriggerExit2D() public method

public OnTriggerExit2D ( Collider2D col ) : void
col UnityEngine.Collider2D
return void

OnTriggerStay2D() public method

public OnTriggerStay2D ( Collider2D c ) : void
c UnityEngine.Collider2D
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

TextButton public_oe property

public GameObject TextButton
return GameObject

speaker1 public_oe property

public string speaker1
return string

textBox public_oe property

public GameObject textBox
return GameObject

textFile public_oe property

public TextAsset,UnityEngine textFile
return UnityEngine.TextAsset

theTextPlayer public_oe property

public Text theTextPlayer
return Text

typeSpeed public_oe property

public float typeSpeed
return float