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);_
}
}