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