2022-05-03 20:36:55 +00:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
|
|
namespace HeavenStudio
|
|
|
|
{
|
2022-07-28 23:12:21 +00:00
|
|
|
[System.Flags]
|
2022-05-03 20:36:55 +00:00
|
|
|
public enum InputType : int {
|
2022-05-04 16:42:06 +00:00
|
|
|
|
|
|
|
//General
|
|
|
|
//-------
|
|
|
|
//Down
|
2022-07-28 23:12:21 +00:00
|
|
|
STANDARD_DOWN = 1<<0,
|
|
|
|
STANDARD_ALT_DOWN = 1<<1,
|
|
|
|
DIRECTION_DOWN = 1<<2,
|
2022-05-04 16:42:06 +00:00
|
|
|
//Up
|
2022-07-28 23:12:21 +00:00
|
|
|
STANDARD_UP = 1<<3,
|
|
|
|
STANDARD_ALT_UP = 1<<4,
|
|
|
|
DIRECTION_UP = 1<<5,
|
2022-05-04 16:42:06 +00:00
|
|
|
|
|
|
|
//Specific
|
|
|
|
//--------
|
|
|
|
//Down
|
2022-07-28 23:12:21 +00:00
|
|
|
DIRECTION_DOWN_DOWN = 1<<6,
|
|
|
|
DIRECTION_UP_DOWN = 1<<7,
|
|
|
|
DIRECTION_LEFT_DOWN = 1<<8,
|
|
|
|
DIRECTION_RIGHT_DOWN = 1<<9,
|
2022-05-04 16:42:06 +00:00
|
|
|
//Up
|
2022-07-28 23:12:21 +00:00
|
|
|
DIRECTION_DOWN_UP = 1<<10,
|
|
|
|
DIRECTION_UP_UP = 1<<11,
|
|
|
|
DIRECTION_LEFT_UP = 1<<12,
|
|
|
|
DIRECTION_RIGHT_UP = 1<<13
|
2022-05-03 20:36:55 +00:00
|
|
|
}
|
|
|
|
}
|