public virtual void Initialize(World world, bool freeze, bool restore) { world.Register(ref this.filters, freeze, restore); world.Register(ref this.structComponents, freeze, restore); world.Register(ref this.storage, freeze, restore); world.Register(ref this.components, freeze, restore); }
public virtual void Initialize(World world, bool freeze, bool restore) { world.Register(ref this.filters, freeze, restore); world.Register(ref this.structComponents, freeze, restore); #if FILTERS_STORAGE_LEGACY world.Register(ref this.storage, freeze, restore); #endif this.globalEvents.Initialize(); this.timers.Initialize(); }