private void LoadSpriteComponent(GameEntity entity, SpriteComponentInfo componentInfo) { var spritecomp = new SpriteComponent(); entity.AddComponent(spritecomp); spritecomp.LoadInfo(componentInfo); }