summaryrefslogtreecommitdiff
path: root/AlienSurvival/Assets/Tools/EditorGUIHelper/Examples/RotationLimitAngle.cs
blob: 354454e71498a84effd1d3b557ea08fd718a523f (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;

}