Search Unity

Getting sprite from sprite sheet from code ( editor class )

Discussion in '2D' started by giyomu, Nov 27, 2013.

  1. giyomu

    giyomu

    Joined:
    Oct 6, 2008
    Posts:
    1,094
    Hi, I saw other similar question but most of the time this imply to have a public reference, I wonder how I could look up in my spritesheet all different sprite in the sheet ?

    spritesheet[] contains info about sprite but does not seem to get you back a reference to sprite itself.

    thanks