예제 #1
0
 public bool IsFront(float angle, TriggerAngles angles, bool state)
 {
     if (state)
     {
         return(IsFront(angle, angles.Exit));
     }
     else
     {
         return(IsFront(angle, angles.Enter));
     }
 }
예제 #2
0
 public bool IsRight(float angle, TriggerAngles angles, bool state)
 {
     return(IsRight(angle, state ? angles.Exit : angles.Enter));
 }