Changing collider Colours

Good evening…

I am going to be putting together some hitboxes for my game project and I am wondering if there is a way to color and semi-fill the colliders in my scene so it can be used for debugging hit detection. Here is an example of what I want to do:

And within Unity, I want to have these colour coded exactly how it is in the image… any help would be great. Thanks

Using this as reference. Hit box information for Super Street Fighter 4

You can actually use OnDrawGizmos.

The trick is to set Gizmos.matrix to the current transform’s local to world matrix (or the world to local matrix, I can never remember which) then when you draw a gizmo box that’s 1x1x1 at the origin (0,0,0) the matrix will make it match the position/rotation/scale of the transform. Really handy for when you want debug boxes that rotate with your objects.