unityscript – Unity: transform.Translate on an object specified in the script

simple question:

In Unity3D, by creating an A object in the hierarchy, a C # script including transform.Translate animates the object of a translation by dragging it onto the object A.

How in C #, make sure that transform.Translates apply to another object defined in the script itself?

Thank you