Constructor TextureAtlas
TextureAtlas(string, Texture2D)
Initializes a new instance of the TextureAtlas class.
public TextureAtlas(string name, Texture2D texture)
Parameters
namestringThe name to assign the TextureAtlas.
textureTexture2DThe source image to give the TextureAtlas.