Debug Ping GameObject

Is there some easy clever way to make a Game Object visually “ping”? Like flash a color briefly show a coloured outline. Just to see that is has been targeted programmatically.

You can have a cube parented to it and turn the cube’s renderer on/off, also you can use Debug.DrawLine to draw a colored line from the gameObject’s transform.position to a point a few units above that position.

Visually highlighting or outlining an object is an effect that usually requires some work with custom shaders and multiple layers and isn’t worth the trouble if it’s not going to be a part of the finished game.