How to make transform a variable?

can you just say:

var objectTransform : Transform; ?

var objectTransform : Transform;

is for using within the game scene, prefabs wont work, but rotations, sizes and positions.


var objectTransform : GameObject;

is for the whole project, used for prefabs unlike the other one.