public Skin() { TextureAtlases = new List <TextureAtlas>(); Fonts = new List <BitmapFont>(); NinePatches = new List <NinePatchRegion2D>(); Styles = new KeyedCollection <string, ControlStyle>(s => s.Name ?? s.TargetType.Name); }
public GuiSkin() { TextureAtlases = new List <TextureAtlas>(); Fonts = new List <BitmapFont>(); NinePatches = new List <NinePatchRegion2D>(); _styles = new KeyedCollection <string, GuiControlStyle>(s => s.Name); }