unity中移动lindrender和transform, 两个点的位置

如图1所示,1圆圈中有一条直线是新建的linerender,目前的状态是它显示在屏幕可见区域,如果要让它在运行时在,而不是现在在看到,则移动transform值是不行的,应该修改Positions 中点的坐标。

猜你喜欢

转载自blog.csdn.net/moonlightpeng/article/details/82620176