fix new system param
This commit is contained in:
parent
6a596cb1e5
commit
5ca8e381db
@ -1,5 +1,4 @@
|
|||||||
use bevy_utils::prelude::DebugName;
|
use bevy_utils::prelude::DebugName;
|
||||||
use thiserror::Error;
|
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
archetype::ArchetypeId,
|
archetype::ArchetypeId,
|
||||||
|
@ -1661,7 +1661,15 @@ unsafe impl<'a> SystemParam for &'a EntitiesAllocator {
|
|||||||
type State = ();
|
type State = ();
|
||||||
type Item<'w, 's> = &'w EntitiesAllocator;
|
type Item<'w, 's> = &'w EntitiesAllocator;
|
||||||
|
|
||||||
fn init_state(_world: &mut World, _system_meta: &mut SystemMeta) -> Self::State {}
|
fn init_state(_world: &mut World) -> Self::State {}
|
||||||
|
|
||||||
|
fn init_access(
|
||||||
|
_state: &Self::State,
|
||||||
|
_system_meta: &mut SystemMeta,
|
||||||
|
_component_access_set: &mut FilteredAccessSet<ComponentId>,
|
||||||
|
_world: &mut World,
|
||||||
|
) {
|
||||||
|
}
|
||||||
|
|
||||||
#[inline]
|
#[inline]
|
||||||
unsafe fn get_param<'w, 's>(
|
unsafe fn get_param<'w, 's>(
|
||||||
|
Loading…
Reference in New Issue
Block a user