Gino Valente

Results 207 comments of Gino Valente

> Yeah, I agree. I was more thinking about if it would be possible to just copy it. We could definitely do something like that. But I’m wondering if we...

> Have you considered using the “static type” instead of “real type”? It seems to be a direct translation from dynamic vs static typing. I did, but chose not to...

> Please try to split your lines at the sentence / clause level; it makes reviewing and suggestions much more pleasant :) Okay I split bascially every sentence across multiple...

I just started using the crate (it's awesome), but was also wondering if an immutable `Inspectable` trait could be added. When I add an inspector to view a resource in...

> That said, if the only problem you have with the &mut access is change detection, that should only be triggered when the data is actually being modified. I thought...

Ah I see, so I should use a standard `InspectorPlugin` to view the resource then? > Alternatively, bevy could expose APIs to allow dereferencing a ResMut without triggering its change...

> unless bevy wants to 100% guarantee change detection being correct all the time. To be fair, it would be 100% guaranteed even with something like this. Opting out of...

Temporarily downgraded to Bevy 0.6 so this could be tested in non-`bevy-main` projects. This should be reverted before merging.

You are able to use this by implementing your own `ProtoDeserializer` (replace the YAML deserializer with your own), such as: https://github.com/MrGVSV/bevy_proto/blob/fb7bde3b49a1642443cd649c9239da36cf38cba6/src/plugin.rs#L88-L99 Then just add it as an `option` in `ProtoPlugin`.

But maybe I'll change the default serialization to be feature-dependent. Then you can choose from a few common ones such as YAML/JSON, RON, and maybe one or two more built-in...