Search Unity

Resolved How to detect "play mode script" in editor?

Discussion in 'Addressables' started by Kirsche, Sep 29, 2022.

  1. Kirsche

    Kirsche

    Joined:
    Apr 14, 2015
    Posts:
    121
    Hey,

    does anybody know where I can access this setting programmatically?

    Unity_OuPs6VSzIj.png

    I was looking for it in AddressableAssetSettingsDefaultObject.Settings but no luck so far.
     
  2. LuGus-Jan

    LuGus-Jan

    Joined:
    Oct 3, 2016
    Posts:
    179
    This is the
    ActivePlayModeDataBuilderIndex
    property on the
    AddressableAssetSettings
    object.
     
    Kirsche likes this.
  3. Kirsche

    Kirsche

    Joined:
    Apr 14, 2015
    Posts:
    121
    Thank you very much!