private static FloatMenuOption MoveBeforeOption(ModButton_Installed from, ModButton_Installed to) { return(new FloatMenuOption(I18n.MoveBefore(from, to), () => ModButtonManager.Insert(from, ModButtonManager.ActiveButtons.IndexOf(to)))); }