Version: 5.6
public static Quaternion rotation ;

설명

Returns a random rotation (Read Only).

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { transform.rotation = Random.rotation; } }