How do I hide USplingComponents in the editor (in game, they should also be hidden) in c++?
I use the splines to generate other geometry along them, but if the splines are shown, the scene gets too crowded.
I tried spline->SetVisibility(false)
and spline->bVisible=false
, but that doesn’t seem to do anything.