public FuzzyFuncOption(FuzzyFunc <T> func, string label, Func <EditorTexture> getIcon = null, string summary = null) : base(FuzzyOptionMode.Leaf) { Ensure.That(nameof(func)).IsNotNull(func); this.func = func; value = Convert; this.label = label; this.getIcon = getIcon; documentation = new LambdaFuzzyOptionDocumentation(summary); }
public FuzzyRange(int id, FuzzyFunc func) { _id = id; _fuzzyFunc = func; }