hm... i think there is some confusion about components.

unity uses objects just like other engines.

this.transform.position = ...

"this" is the current object. i haven't used unityscript yet but probably "this" is implicit there and you can leave it away?

in gamestudio the pendant is "my".

my.x = ...