using System.Collections; using System.Collections.Generic; using UnityEngine; public class RotationLimitAngle : MonoBehaviour { enum Axis { x = 0, y = 1, z = 2, } public Vector2[] limitAngle = new Vector2[3]; public float min = 1; public Vector3 axis; }