public void SpriteExitedView(RepeatingSprite bc) { spritesOutOfView.Add(bc); spritesInView.Remove(bc); MoveSprites(bc.transform.position.x); }
public void SpriteEnteredView(RepeatingSprite bc) { spritesInView.Add(bc); spritesOutOfView.Remove(bc); }