How to attach a 3dtext with a 3d object ?

Plz help me

I want to learn : How to attach a 3dtext with a 3d object ?

I mean .. as the object scale ,the text scale at the same time

and as the object rotate ,the text rotate at the same time

THX

Something like this (you'll need to fill in the right variable names for your objects)

your3dTextObject.transform.parent = yourOtherObject.transform;