change gizmo color unity code example Example: how to set a gizmo color unity void OnDrawGizmos(){ Gizmos.color = Color.red; }