This question falls into "how do I use Unity" category. :|
You like to complicate things?
It is sad to meet such support from the developer ..
input.GetComponent<onSubmitJS>.string = this.GameObject.GetComponent<UILabel>.text;
The should be enough of a hint for how to transcode it back to jscript.
Thanks for the hint! Everything works fine in JS, and sends a string from UIInput.cs in SubmitLeaderBoard.js!!!
That is can come in handy (UJS):
public var leaderBoard : GameObject;
public var uILabel : GameObject;
function OnSubmit ()
{
leaderBoard.GetComponent(SubmitLeaderBoard).username = uILabel.GetComponent(UILabel).text;
}
All has appeared so simply!
JRoch, thanks a lot again!!!