A DropDown Addon For The GUI That Is Used In Mods To Put Buttons On Screen. (Realtime)
//ExamplevarListOfButtonsx=newList<KeyValuePair<Tuple<string,string,ButtonType,bool>,Action<string,int,float,bool>>>();/*Cache The List So You Can Append Numerous Things To It First, And Keep Your Code Clean*/ListOfButtonsx.Add(newKeyValuePair<Tuple<string,string,ButtonType,bool>,Action<string,int,float,bool>>(newTuple<string,string,ButtonType,bool>(/*Button Text*/"Button Text",/*ToolTip Text*/"ToolTip Text",/*Button Type*/ButtonType.Button,/*Default Toggle State*/false),/*Delegate To Execute On Button Select/Toggle*/delegate(stringa,intb,floatc,boold){//Code}));PlagueGUI.PlagueGUI.DropDown(/*The Position And Scale Of The DropDown*/newRect(1000,25,300,25),/*The Main DropDown Expand Button Text*/"Main Button Text",ListOfButtonsx);