projectEli/Assets/NeoFPS/Core/NeoCharacterController/NeoCharacterCollisionFlags.cs
2022-11-06 20:28:33 -05:00

24 lines
513 B
C#

using System;
using UnityEngine;
namespace NeoCC
{
[Flags]
public enum NeoCharacterCollisionFlags
{
None = 0,
Below = 1,
Above = 1 << 2,
Sides = 1 << 3,
MaskFront = 1 << 4,
MaskBack = 1 << 5,
MaskLeft = 1 << 6,
MaskRight = 1 << 7,
Front = MaskFront | Sides,
Back = MaskBack | Sides,
Left = MaskLeft | Sides,
Right = MaskRight | Sides,
All = Below | Above | Front | Back | Left | Right
}
}