[ValidateInput] on Lists

Issue #21 resolved
João Cabral created an issue

[ValidateInput] on Lists doesn't seem to work I get the following InfoBox: "No methods named ValidateSections with a return type of bool was foind in List<bool>"

But in the script I have:

private bool ValidateSections(List<bool> sectionList)
 return true;

Comments (1)

  1. mSkull001

    We've implemented a fix that will be available with the next patch. The issue was that ValidateInput got applied to every element of the list, and each element then tried to find a 'ValidateSections' method in List<bool>, which it obviously shouldn't. Sorry for the inconvenience.

  2. Log in to comment