public IsolateWindow SetData(string pTitle, List <GameObject> goList) { var infoList = new List <GOInfo>(); for (var i = 0; i < goList.Count; i++) { var go = goList[i]; infoList.Add(new GOInfo() { Name = go.name, go = go }); } wtitle = pTitle; guiList = new vlbGUIList <GOInfo>(infoList); Repaint(); return(this); }
internal vlbStringArray(string title, List <string> plist, GUIListTheme theme = null, Object listId = null) //List<string> list, GUIListTheme theme = null, Object listId = null { list = plist; this.title = title; drawer = new vlbGUIList <string>(plist, theme, listId); }