protected override void OnDrawGizmos()
 {
     base.OnDrawGizmos();
     if (Application.isPlaying && ColliderType == EColliderType.PHYSICS)
     {
         EHGeometry.DebugDrawRect(PreviousRectGeometry, Color.red);
         EHGeometry.DebugDrawRect(PhysicsSweepGeometry, Color.yellow);
     }
     EHGeometry.DebugDrawRect(RectGeometry, GetDebugColor());
 }
Beispiel #2
0
 protected override void OnDrawGizmos()
 {
     base.OnDrawGizmos();
     EHGeometry.DebugDrawRect(RectGeometry, DebugGetColor(), true);
 }