Search Unity

How to load specific assets platform dependent?

Discussion in 'Addressables' started by peter-vrtualx, Apr 29, 2020.

  1. peter-vrtualx

    peter-vrtualx

    Joined:
    Mar 5, 2020
    Posts:
    1
    I have a Scene full of different prefabs and prefab variants. How do I use Adressables to switch them depending on the platform?
    For example, in the Editor and builds for Windows a 'Cube_Windows' prefab is by default in the Scene. A 'Cube_Android' prefab should then replace it in Android builds. What is the best way to solve this problem using Adressables?