using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShootingManager : MonoBehaviour
{
public enum Example { a = 0, b = 1, c = 2, d = 3};
void Start()
{
Example example = (Example)StudyEnum(1);
}
int StudyEnum(int _number)
{
int Number = 0;
if (_number > 10F)
Number = (int)Example.a;
else if (_number < 10F && _number > 5F)
Number = (int)Example.b;
else if (_number < 5F )
Number = (int)Example.c;
return Number;
}
}