unity call script of attached object code example Example: unity get gameobject script is attached to this.gameObject