Returns a random point on the circumference of a circle with radius 1.0 (Read Only).
using UnityEngine;
public class Example : MonoBehaviour { void Start() { // Sets the Rigidbody2D velocity to 10 and in a random 2D direction.
GetComponent<Rigidbody2D>().linearVelocity = Random.onUnitCircle * 10; } }