Versions with this page:
Versions without this page:
返回半径为 1 的球体内的随机点(只读)。
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { void Example() { transform.position = Random.insideUnitSphere * 5; } }