Exemplo n.º 1
0
 void Start()
 {
     this.gameObject.GetComponent <TextMesh>().text = TencesHolder.GetText();
     Destroy(gameObject, destroyTime);
 }
Exemplo n.º 2
0
 private void Awake()
 {
     i        = -1;
     instance = this;
 }