I have a attribute dimension which has 10 different level 0 member. I am trying to write a report script which gives me the name of the attribute rather then the name of the base dimension members that its is associated with. So as of now when i run the report it gives me a list of all the members from base dimension to which those attributes are attached. I need to know which attribute is assigned to what member?? How can i do this via report script?
function Start () {
var NewVal : TEXTO = GetComponent (TEXTO);
NewVal.Text = "NewTextHere";
}
Appear:
Assets/Texto.js(3,18): BCE0018: The name ‘TEXTO’ does not denote a valid type.
If i Write:
GetComponent(TEXTO).text = "Hello World";/code]
Appear:
[b]Assets/Texto.js(2,15): BCE0005: Unknown identifier: 'TEXTO'.[/b]
(TEXTO is called my object that shows the 3dText)
[color=blue]---()---[/color]
If i try destroy this object, i need put this code:
[code]Destroy(GetComponent(TextMesh));
And Ok! But if i’ve 3 objects… How do I know which of these objects is destroyed?
My objects are called Texto1, Texto2 and Texto3. How i refer to them by name? Ex: Destroy(GetComponent(Texto1));