Version: 2017.3

Random.insideUnitSphere

매뉴얼로 전환
public static Vector3 insideUnitSphere ;

설명

Returns a random point inside a sphere with radius 1 (Read Only).

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { transform.position = Random.insideUnitSphere * 5; } }