示例#1
0
 public void Add(string key, TextureAtlasTexture texture)
 {
     if (!string.IsNullOrWhiteSpace(key) && texture != null)
     {
         _textures.Add(key, texture);
     }
 }
示例#2
0
 public AtlasImage(TextureAtlasTexture texture, bool isEnabled)
     : base(isEnabled)
 {
     Texture = texture;
 }