mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
Register WireframeColor
(#10486)
This makes it usable via reflection by adding its data to the `TypeRegistry`.
This commit is contained in:
parent
51180f81a2
commit
39c8998257
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue