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()); }
protected override void OnDrawGizmos() { base.OnDrawGizmos(); EHGeometry.DebugDrawRect(RectGeometry, DebugGetColor(), true); }