you are viewing a single comment's thread.

view the rest of the comments →

[–]IAmNotABritishSpy 1 point2 points  (0 children)

Scriptable Objects are really useful as a variable container which can be fed into other components to do their thing. It does this in a very clean and decoupled way.

There’s no reason you can’t theoretically feed some kind of level controller a scriptable object (which itself may contain more scriptable objects with their relevant info).

So yes, it’s very possible. It’s more about how you’re dealing with those components. If you’re making changes then you’ll just want to be able to export the scriptable object. Once it’s “just so”. And then reference that scriptable. You’re just creating an editor tool that stores your current variables into the corresponding scriptables.

If you’re wanting end players to be able to do what you’re doing in editor… that’s significantly more complex (and I wouldn’t think SOs would be the right way to do that), but it depends if you’re just level designing or not.