jkb0o / pecs

Asynchronous operations for Bevy Engine
Apache License 2.0
65 stars 7 forks source link

update to bevy 0.10 #5

Closed happydpc closed 1 year ago

happydpc commented 1 year ago

I have tried to upgrade to 0.10, but the self.body not satisfy the trait into_system

 let system = write.entry(key).or_insert_with(|| {
            let mut sys = Box::new(IntoSystem::into_system(self.body));
            sys.initialize(world);
            sys
        });
jkb0o commented 1 year ago

Yeah, it is not so easy to convert function pointers to systems for now. I'll try to figure it out in the next two days or rewrite this part.

Thank you for report!