Access and load ScriptableObjects
BonitoFlakes
As you know, SOs are an excellent way to store date especially configurations, references, and reusable assets.
In my current project I have several icons that need to be displayed dynamically at runtime. Since Udon can’t access ScriptableObjects, the only option I'm aware of is to store all icon references inside a list on an UdonBehavior. This works, but it becomes messy and far less organized compared to using ScriptableObjects
ScriptableObjects would make data management much cleaner and organized
Log In
Invertex
Your UdonBehavior would just have the same fields that your SO has, instead of it referencing the SO. No need for it to be specifically a List.
But if you want cleaner segmentation, you could use Merlin's UdonSharp from their Github. It has support for create non-udon classes that you can then use as information structures. So instead of a List of a single type, it can be a list of that class, which has many different fields within.
Or just one field on your Udon that is an instance of that regular class, containing the info you want. And you can pass around that reference.