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