Search Unity

Get sprites name from atlas

Discussion in 'Addressables' started by deters, May 20, 2020.

  1. deters

    deters

    Joined:
    Aug 19, 2015
    Posts:
    6
    Good day! How can i get all sprites name from atlas that contains as addressable. For example, i have atlas with backgrounds that contains 12 textures, in my game i need load by name only one of them and i don't know atlas contains this background or not. I can't load atlas in RAM for check texture contains exactly.
    Addressables.LoadResourceLocationsAsync("Background") - returns only sprite atlas path.
    завантаження.png
     
    Tres_Poli and Efril like this.