Example #1
0
        /// <summary>
        /// Reset all filters. This method is used by Quboid's Picker mod through reflection.
        /// Don't remove this method. Update this method whenever a new filter is added.
        /// </summary>
        public void ResetFilters()
        {
            input.text = "";

            vanillaFilter.isChecked   = true;
            workshopFilter.isChecked  = true;
            sizeFilterX.selectedIndex = 0;
            sizeFilterY.selectedIndex = 0;

            UIFilterTag.instance.tagDropDownCheckBox.isChecked      = false;
            UIFilterExtra.instance.optionDropDownCheckBox.isChecked = false;

            filterGrowable.SelectAll();
            filterPloppable.SelectAll();
            filterProp.SelectAll();
            filterTree.SelectAll();
            filterNetwork.SelectAll();
            Search();
        }