Search Unity

Get texture object by name

Discussion in 'Scripting' started by ricardo_arango, Nov 15, 2009.

  1. ricardo_arango

    ricardo_arango

    Unity Technologies

    Joined:
    Jun 18, 2009
    Posts:
    64
    Hi,

    I want to do an animation using textures, and want to assign 45 textures pointers to an array on the start of the script, as to avoid doing it by hand. My problem is, how do I get the pointer to each texture? Is it possible?

    Thanks.
     
  2. KaelisAsur

    KaelisAsur

    Joined:
    Apr 9, 2009
    Posts:
    361