public void Cache(WorldContext worldContext) { feetComponents = worldContext.GetComponentsContainer <FeetComponent>(); tileFieldComponent = worldContext.Get <TileFieldComponent>(0); antagonistComponent = worldContext.Get <AntagonistComponent>(0); vfxPoolComponent = worldContext.Get <VFXPoolComponent>(0); }
public void Cache(WorldContext worldContext) { doombaAIComponents = worldContext.GetComponentsContainer <DoombaAIComponent>(); tileFieldComponent = worldContext.Get <TileFieldComponent>(0); timeComponent = worldContext.Get <TimeComponent>(0); obstaclesLayer = LayerMask.GetMask("Obstacles"); }
public void Cache(WorldContext worldContext) { beakComponents = worldContext.GetComponentsContainer <BeakComponent>(); tileFieldComponent = worldContext.Get <TileFieldComponent>(0); }
public void Cache(WorldContext worldContext) { positionOnTileComponents = worldContext.GetComponentsContainer <PositionOnTileComponent>(); tileFieldComponent = worldContext.Get <TileFieldComponent>(0); }