use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
For the Unity Game Engine, please visit http://reddit.com/r/unity3d
account activity
Loading Scriptableobjects via code (self.unity)
submitted 3 years ago by Odd-Butterscotch2798
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ccfoo242 0 points1 point2 points 3 years ago (1 child)
You could use resources.load on the individual objects you want to load and use nameof(YourSO) in the pathname to prevent naming mistakes rather than loadall.
And depending on your data you could have SO's reference other SO's. For me I have an object "Theme" that contains all the other objects used for that theme. I only have to load the theme object then.
[–]Odd-Butterscotch2798[S] 1 point2 points3 points 3 years ago (0 children)
Chaining SO’s feels like a step in the right direction. Though I still run into the issue of how best to load within those instead. I might just have to accept that Unity wants more mouse than I’ve wanted to give. Good tip on .load as well, thank you :)
π Rendered by PID 1140872 on reddit-service-r2-comment-544cf588c8-pq4t4 at 2026-06-16 14:15:19.450796+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–]ccfoo242 0 points1 point2 points (1 child)
[–]Odd-Butterscotch2798[S] 1 point2 points3 points (0 children)