public ButtonsWindow(Rect rect, GUIContent content, GUIStyle style, params GUILayoutOption[] options) : base(rect, content, style) { Options = options; ButtonContent = new GUIContent("Buttons"); buttons = new List <ButtonInfo>(); foreach (var button in DescriptorData.getActionTypes()) { buttons.Add(new ButtonInfo(button)); } }