I have a script running on a prefab and when a certain condition is met (OnMouseUp) I would like to set the text for a TextMesh on another object. This works fine when I use GameObject Literal node, but fails when I use: GameObject.gameObject(get). In both cases I am supplying the correct TextMesh object, but in the later case, the GameObject.gameObject(get) returns self and I get the error (not surprisingly) "There is no 'TextMesh' attached to the game object, but a script is trying to access it."
Is this expected behavior?
Customer support service by UserEcho