unity3d Instantiate随机范围位置的问题Instantiate(mObjects[0],new Vector3(Random.Range(this.transform.position.x-25,this.transform.position.x+25),1F,-2F),Quaternion.Euler(new Vector3(90F,180F,0F)));,要想同时在z方向也一样的效果,
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/27 19:41:04
xRN@4hhIqQ:mAc0 &(_p,pa"+nfsa`(۱@
qZԇl
_xJlVgjxFڦ{@жAܑ%'vy;5'R9 *9Y(Cg^?