find to which gameobject is the script attached unity code example Example: unity get gameobject script is attached to this.gameObject