Expose C# Generic Collections (List<T>, Dictionary<TKey,TValue>, etc.)
Dustuu
World developers seeking to create complex worlds that handle arrays could greatly improve their development process if they were able to use Generic Collections, especially List<T>. It would be even more helpful if we could also use C# LINQ operations. There are many common situations where Collections and LINQ combined can reduce large quantities of code to simple one-line or one-operation solutions.
Log In
Momo the Monster
Merged in a post:
Add major C# collection types
Merlin
List is already requested in https://vrchat.canny.io/vrchat-udon-closed-alpha-feedback/p/request-add-list-type-handling
But there are other collections that would be useful like Dictionary, HashSet, Queue, and Stack as well. At least Dictionary and HashSet would be nice because they provide functionality that are not easy/performant to emulate with lists.
Momo the Monster
Merged in a post:
Request: Add List type & handling.
Aleksooooooo
Currently there is no way to handle lists or iterate over lists.
Momo the Monster
Merged in a post:
Expose Queue to Udon
Chdata
Very nice very useful very good
Rami-Pastrami
I know lists is coming soon, just pinging here to let you know im excited!
Momo the Monster
Merged in a post:
Lists in Udon#
wunderburst
Udon does not have support for using System.Collections.Generic.
It would be very nice to have this feature implemented into Udon.
PhaxeNor
Already a post on it here: https://feedback.vrchat.com/vrchat-udon-closed-alpha-feedback/p/request-add-list-type-handling
And on their live stream they had List as a upcoming feature
Tupper - VRChat Head of Community
Moved to Udon Feedback board.
Genesis
At the very least, please implement support for System.Object specializations for these types (i.e. List<System.Object>, Dictionary<System.Object, System.Object>, HashSet<System.Object>, etc) and let third party compiler makers handle casting between other types themselves.
HcgRandon
Please this is very needed can this get some love? Tupper - VRChat Head of Community
Tupper - VRChat Head of Community
Merged in a post:
List <> support for sdk3
Black Lilith
As the title say, it would be a very benefit to have List<> support in Udon. Please!
Load More
→