public bool IsFront(float angle, TriggerAngles angles, bool state) { if (state) { return(IsFront(angle, angles.Exit)); } else { return(IsFront(angle, angles.Enter)); } }
public bool IsRight(float angle, TriggerAngles angles, bool state) { return(IsRight(angle, state ? angles.Exit : angles.Enter)); }