public static IEnumerable <object[]> OddNumbersSquared() => (from i in (CustomRange.Int64(1, 10000)) where i.IsOdd() select new object[] { i.ToPowerOf(2) });
void Start() { // The difference with the regular generic way is simply // that you have to pass the plugin to use as an additional first parameter DOTween.To(customRangePlugin, () => customRange, x => customRange = x, new CustomRange(20, 100), 4); }