Exemplo n.º 1
0
 private void Start()
 {
     this.effectScript = (ETFXFireProjectile)GameObject.Find("ETFXFireProjectile").GetComponent <ETFXFireProjectile>();
     this.getProjectileNames();
     this.MyButtonText = (Text)((Component)this.Button.get_transform().Find("Text")).GetComponent <Text>();
     this.MyButtonText.set_text(this.projectileParticleName);
 }
 private void Start()
 {
     effectScript = GameObject.Find("ETFXFireProjectile").GetComponent <ETFXFireProjectile>();
     getProjectileNames();
     MyButtonText      = Button.transform.Find("Text").GetComponent <Text>();
     MyButtonText.text = projectileParticleName;
 }