Search Unity

Tiny TS / Load an image with web url ?

Discussion in 'Project Tiny' started by kindool, Aug 2, 2019.

  1. kindool

    kindool

    Joined:
    Aug 2, 2019
    Posts:
    1
    Hi, i'm making a FB Instant game and I need to load a lot of different sprites, but they are displayed one by one. Today when the game is launched ALL sprites are loaded, it's not good. I want to have only one sprite and modify the path only when the image needs to be changed, from a separated location. Is that possible ?
     
  2. yossi_horowitz_artie

    yossi_horowitz_artie

    Joined:
    Jan 30, 2019
    Posts:
    56
    I haven't tested them myself, but check out `CreateImage2D()` and `CreateSprite()` in `DemoUtils.cs`.