private Vector3 GetVector3(CollisionFlags flags)
{
switch (flags)
{
case CollisionFlags.None:
return Vector3.zero;
case CollisionFlags.Above:
return Vector3.up;
case CollisionFlags.Below:
return Vector3.down;
case CollisionFlags.Sides:
default:
return Vector3.zero;
}
}