Set the position of a transform object

Hi, i have a problem with setting the position of a transform in a script.

The part of code with the error:

private Transform bacino;
bacino = UnityUtils.FindTransform(go, "MasterMover1");
bacino.position = Vector3(0,0,0);

The error:

Assets/Nite.cs(251,37): error CS0119: Expression denotes a 'type', where a 'variable', 'value' or 'method group' was expected

bacino.rotation works but bacino.position not... why?? Thanks Regards, Christian

You need to create an instance of Vector3 when assigning to position.

Like this:

bacino.position = new Vector3(0,0,0);