public override Surface CustomItemRender(GuiItem Item) { Surface Buffer; if (Item is MapEditRenderer) { MapEditRenderer MapRender = (MapEditRenderer)Item; Buffer = MapRender.Render(); } else { Buffer = Item.Render(); } return Buffer; }
public override Surface CustomItemRender(GuiItem Item) { Surface Buffer; Buffer = Item.Render(); return Buffer; }