private void OnRemoveExclude(VariantCollectionUI variantCollectionUI) { collections.RemoveAt(variantCollectionUI.ListIndex); RefleshExcludeUI(); StripShaderConfig.SetVariantCollection(this.collections); }
void OnDisable() { StripShaderConfig.SetVariantCollection(this.collections); }
private void OnChangeExclueValue(VariantCollectionUI variantCollectionUI) { collections[variantCollectionUI.ListIndex] = variantCollectionUI.variantCollection; StripShaderConfig.SetVariantCollection(this.collections); }