标签: c# unity3d
im trying to instantiate "sphere" at a position [AU] multiplied by some numbers away from another object wich i have defined but it gives me this error
答案 0 :(得分:0)
您试图在另一个vector3中将vector3作为x值发送,您应该发送整个变量“ spawndistance”并将其替换为新的vector3(...),它将以与您相同的方式工作在2个地方使用随机值将是相同的。