summaryrefslogtreecommitdiff
path: root/UnityCollection/Assets/Tools/EditorGUIHelper/Examples/RotationLimitAngle.cs
blob: f1eff9a75154f1a1bd7c13633fbe6146f20cddde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;

}