using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Threading; // You need to include this namespace for threads
public class TestScript : MonoBehaviour
{ public enum ACTION_TYPE
{
JUMP = 0,
ATTACL = 1,
DEFENCE = 2
}
private void Start()
{
ACTION_TYPE actionType;
actionType = ACTION_TYPE_JUMP;
switch(actionType)
{
case ACTION_TYPE_JUMP:
break;
case ACTION_TYPE.ATTACK:
break;
case ACTION_TYPE.DEFENCE:
break;
}
}
}