Closed angelsalascalvo closed 1 year ago
This is mentioned in the docs here with a helper type as a workaround. In your case you should probably do something like this
[Serializable]
public class FloatsCollection : CollectionWrapper<float> {}
[ConditionalField(nameof(type), false, EnumType.button)]
public FloatsCollection positions;
And access actual points collection with positions.Value
👍 Thanks!
Hello, I wanted to report that the conditional field does not work for variables of type list or array. I am using the latest version 1.7.0
Thank you very much for the utility library!