jakobhellermann / bevy-inspector-egui

Inspector plugin for the bevy game engine
Apache License 2.0
1.12k stars 166 forks source link

could not find `Inspectable` in `bevy_inspector_egui` #124

Closed 1714080902120 closed 1 year ago

1714080902120 commented 1 year ago

i am studying Bevy, and i now practice follow the tutorial: Bevy Minesweeper: Tile Map Generation . But i met a problem: image I had searched in docs but nothing found about Inspectable.

my project dependencies configuration: bevy = "0.9" bevy-inspector-egui = "0.17"

Is there anything that can be used to replace?

1714080902120 commented 1 year ago

Now i know how to replace...

jakobhellermann commented 1 year ago

For anyone else reading this, here's a small migration guide for the version this change happened in: https://github.com/jakobhellermann/bevy-inspector-egui/blob/main/docs/MIGRATION_GUIDE_0.15_0.16.md

TLDR: you don't need Inspectable anymore and can instead derive Reflect. If you want to specify options you do that with InspectorOptions.