Texture BoxCollider2D in scene view only

I want to texture a BoxCollider2D in the scene editor view only. As we have several re-usable trigger areas we want to see while editing. My current approach is below. So my question is, “What’s the best way to approach shading a BoxCollider2D in the editor only?”

void Awake () {
  if (!Application.isPlaying) {
    // Add my texture

My current solution is to simply use a sprite renderer and hide it outside of the editor view. Working very well for our team to visually debug levels.