Search Unity

Send file to Client / Resources folder ?

Discussion in 'Multiplayer' started by RemDust, Mar 13, 2017.

  1. RemDust

    RemDust

    Joined:
    Aug 28, 2015
    Posts:
    432
    Hi guys,
    I was wondering if there is a method to "upload" or "send" a sprite (or ultimately a scriptable object) to clients ?

    I'm asking because I was thinking about adding et removing runtime skins in resources folder of my clients.
    (if a player possesses a skin that other doesn't have, I could load them to the other player so they can see it in their game instances)

    Thank you all for your inputs :)
     
  2. MD_Reptile

    MD_Reptile

    Joined:
    Jan 19, 2012
    Posts:
    2,664
    Google firebase has an image storage feature, and you can host images there, and download them to clients. It is pretty easy to work with, I've used the storage and database. You would just need to send the "skins" to other players by having them check the database to see who uploaded skins and then download those from the storage.