Search Unity

GetPixels, On Sprite In Atlas

Discussion in 'Scripting' started by renman3000, Dec 20, 2019.

  1. renman3000

    renman3000

    Joined:
    Nov 7, 2011
    Posts:
    6,697
    Is there a way to get the Pixels of a Texture2D (texture2D.GetPixels()), but when that texture2D is in an atlas?

    Currently, if my sprite is part of an atlas, this can not be done.

    Ideas?

    Thanks