Announcement

Collapse
No announcement yet.

Loading online assets at runtime

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Loading online assets at runtime

    Hello.

    Is there a way to load online assets at runtime?

    I'm making "game center" application where game assets would load only after player selected the game he wants to play.

    Is this accomplished with a normal C# async method?

    e.g. the link provided.

    And if this is all there is to it, how can I then use these imges in the scene?




    Thanks.


    P.S.: I posted this in Tools section previously by mistake.

  • #2
    Yes, take a look at the sample https://github.com/WaveEngine/Sample...netTextureLoad
    Take a look at the SpriteUrl.cs file, it downloads a file from internet, but realize that Texture2D.FromFile method supports jpg's and png's file format.

    Hope this helps

    Comment


    • #3
      juanlao I have no idea how I missed that example. Thank you!

      Comment

      Working...
      X