transform object according to its parent unity

C#
transform.localPosition = new Vector3(12.5f, 12.5f, 12.5f);
Source

Also in C#: