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