Search Unity

SpriteAtlas data getters

Discussion in '2D Experimental Preview' started by Deleted User, Sep 23, 2018.

  1. Deleted User

    Deleted User

    Guest

    Hi all.
    I'm working on creating SpriteAtlases manager, for managing all created atlases in project. I found many useful extensions in SpriteAtlasExtensions, but I couldn't find IsIncludedInBuild and GetMasterAtlas.

    How can I get this atlas data?
     
  2. Venkify

    Venkify

    Unity Technologies

    Joined:
    Apr 7, 2015
    Posts:
    192
    These functions are not available as yet. We will try to add it after reviewing this.
    Meanwhile you could use isVariant to distinguish between Master and Variant atlases.
    Will keep this thread updated.