Register WireframeColor (#10486)

This makes it usable via reflection by adding its data to the
`TypeRegistry`.
This commit is contained in:
Sludge 2023-11-12 18:07:15 +01:00 committed by GitHub
parent 51180f81a2
commit 39c8998257
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,6 +36,7 @@ impl Plugin for WireframePlugin {
app.register_type::<Wireframe>()
.register_type::<NoWireframe>()
.register_type::<WireframeConfig>()
.register_type::<WireframeColor>()
.init_resource::<WireframeConfig>()
.add_plugins(MaterialPlugin::<WireframeMaterial>::default())
.add_systems(Startup, setup_global_wireframe_material)