The spawnPositions of my spline are not spawning correctly, can someone help me?

When I add my script to my controller (empty gameobject) the void Reset gets called and is supposed to spawn my points at 1 inch next to the object, after the first one has spawned the other ones have to spawn too with the given gap in between (this works though).

Can someone help me fix this problem?

The void:

public void Reset()
{
    int GapsInInches = 2;

    for (int i = 0; i < 4; i++)
    {
        _UnitPathPoints _= new Vector3(transform.position.x + i * GapsInInches, transform.position.y, transform.position.z);_

}
}

Fixed it, the problem was as followed: When you parent an object to an other object its position becomes relative to that object. So the chilld-vectors (in this case all the vectors of the array) were relative to their 0,0,0 position: in this case the transform.position of the _UnitPath