internal override void LoadContent(DrawHelper helper) { base.LoadContent(helper); string[] assets = { BtnLeftTexture, BtnMiddleTexture, BtnRightTexture }; foreach (var asset in assets) { if (!string.IsNullOrEmpty(asset)) { helper.LoadTexture(asset); } } }
internal override void LoadContent(DrawHelper helper) { base.LoadContent(helper); string[] assets = { WinTopTexture, WinTopLeftTexture, WinTopRightTexture, WinLeftTexture, WinRightTexture, WinBottomTexture, WinBottomLeftTexture, WinBottomRightTexture }; foreach (var asset in assets) { if (!string.IsNullOrEmpty(asset)) { helper.LoadTexture(asset); } } }