[Solved]Problem about position...

Hey. i am trying to make position.y + 0.5 but i had so much problems. So i deciced to ask. How i can make just y axel not x and z. Sorry about my english.

transform.position += new Vector3(0, 0.5f, 0);

Thanks