Skip to content

Only run update system when there are changes to an inspected resource #92

Answered by jakobhellermann
askor asked this question in Q&A
Discussion options

You must be logged in to vote

You can add

if !data.is_changed() {
    return;
}

to your function, bevy-inspector-egui should only mark resources as changed if they were actually edited.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by askor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants