45 lines
426 B
C#
45 lines
426 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
|
|
public class Enums
|
|
{
|
|
public enum Players
|
|
{
|
|
Player = 0,
|
|
Player2 = 1,
|
|
}
|
|
|
|
public enum Axes
|
|
{
|
|
X,
|
|
Y
|
|
}
|
|
|
|
public enum MovementType
|
|
{
|
|
AllDirections = 0,
|
|
OnlyHorizontal,
|
|
OnlyVertical
|
|
}
|
|
|
|
public enum Directions
|
|
{
|
|
Up,
|
|
Right,
|
|
Down,
|
|
Left,
|
|
}
|
|
|
|
public enum KeyGroups
|
|
{
|
|
ArrowKeys,
|
|
WASD,
|
|
}
|
|
|
|
public enum Targets
|
|
{
|
|
ThisObject,
|
|
ObjectThatCollided,
|
|
}
|
|
}
|