protected UIButton SpawnEntry(string name, string tooltip, string thumbnail, UITextureAtlas atlas, bool enabled, bool grouped) { if (atlas == null) { atlas = this.m_atlas; } if (string.IsNullOrEmpty(thumbnail) || atlas[thumbnail] == null) { thumbnail = "ThumbnailBuildingDefault"; } return this.CreateButton(name, tooltip, name, -1, atlas, null, enabled, grouped); }