Vector 3 & charactercontroller

So i am implementing charactercontroller at spawning and i want to change the center(y) to 1 but i cant handle it.

Here’s my code:
Already tried many different ways, still doesnt work.

centers = Vector3(0,1,0);
actor.AddComponent<CharacterController>().center = centers;

centers = new Vector3(0,1,0);
actor.AddComponent().center = centers;