bool CreateCovers(byte[] imageData)
    {
        Texture2D imageTexture = new Texture2D(273, 126);
        imageTexture.LoadImage(imageData);
        imageTexture.Apply();

        return ExceptionHandler.Assert(() =>
        {
            Image cover = Instantiate(childUI) as Image;
            cover.material.mainTexture = imageTexture;
        });
    }

相关文章:

  • 2021-12-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-23
  • 2022-12-23
猜你喜欢
  • 2023-03-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-18
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案