Cannot modify the return value of 'Transform.position' because its not a variable

前端 未结 0 1620
野趣味
野趣味 2020-11-21 17:48
for (int i = 0; i < PathLength; i++)
{
    GameObject tile = (GameObject)Instantiate(GroundTile, transform);


    tile.transform.position.x += 1;


}


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题