Search Unity

Feature request

Discussion in 'Addressables' started by Raymond-Leung, Sep 26, 2019.

  1. Raymond-Leung

    Raymond-Leung

    Joined:
    Dec 12, 2016
    Posts:
    15
    Hi,

    I have a feature request. I hope that we can change the remote bundle / catalog download path in run time.
    So that we can change the download path according to the location of the user. Lets say for user in US, they can download the bundles from US server, and for user in Taiwan, they can download the bundles from Asia server.
     
  2. dnnkeeper

    dnnkeeper

    Joined:
    Jul 7, 2013
    Posts:
    84
    You can assign http://{YourClass.YourPublicStaticStringVariable}/[BuildTarget] to RemoteLoadPath so it will be changed in runtime according to your variable
     
    Raymond-Leung and Favo-Yang like this.
  3. Raymond-Leung

    Raymond-Leung

    Joined:
    Dec 12, 2016
    Posts:
    15
    WOW, it works, thanks!