Search Unity

The runtime switches between local and remote loading

Discussion in 'Addressables' started by Ha_FoxGame, Oct 9, 2019.

  1. Ha_FoxGame

    Ha_FoxGame

    Joined:
    Nov 3, 2018
    Posts:
    1
    I have local and remote resources
    How do I turn remote loading on and off at runtime
    Or switch the loading mode freely(Local or remote)
     
    Last edited: Oct 9, 2019
  2. leobilck

    leobilck

    Joined:
    Nov 13, 2014
    Posts:
    12
    I believe you can add a ProfileEntry that uses a runtime value that you control.

    For example: {MyNamespace.MyClass.ResourcesPath} would evaluate the value from your class in runtime, so you can freely change it if needed.