public Sprite LoadSprite(string _name) { Sprite result; if (!sprites.TryGetValue(_name, out result)) { result = factory.LoadSprite(_name); sprites.Add(_name, result); } return(result); }
public Sprite LoadSprite(string _name) { Sprite result; if (!sprites.TryGetValue(_name, out result)) { result = factory.LoadSprite(_name); sprites.Add(_name, result); } return(result); }