unity onselect gizmos wireframe

C#
void OnDrawGizmosSelected()
{
	Gizmos.color = Color.green;
	Gizmos.DrawWireSphere(transform.position, 5.0f);
}
Source

Also in C#: