Utilities.ShuffleArray(TArray) will not compile in UdonSharp
tracked
BobyStar
UdonSharp reports
Utilities.ShuffleArray
(the T
type) as not exposed to Udon, despite it working just fine in an UdonGraph program. The int[]
version of this function does compile in UdonSharp.Log In
This post was marked as
tracked
aurycat
Seems like ShuffleArray could be made to work trivially in U# by having it accept an Array type instead of generic T[]. I think then the U# code would have to explicitly cast the array to Array, like is necessary for System.Array.Sort, but still, better than not working at all.