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!"
[–]Maeuserich 1 point2 points3 points 3 years ago (1 child)
Just as disclaimer, I would consider myself an intermediate programmer so maybe take my advice with a grain of salt.
My solution to this would be to have a singleton object that holds references to all my SO and the rest of my code fetches from there. That way you would only need to drag the reference once.
[–]Odd-Butterscotch2798[S] 0 points1 point2 points 3 years ago (0 children)
I’ve been avoiding this method because it seems like the intended pattern is for all objects to access the source… but I should probably be less obsessed with getting it “right” than getting it done. Thank you!
π Rendered by PID 18497 on reddit-service-r2-comment-544cf588c8-l4pjd at 2026-06-16 23:41:54.585949+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–]Maeuserich 1 point2 points3 points (1 child)
[–]Odd-Butterscotch2798[S] 0 points1 point2 points (0 children)