- Home /
Question by
sebhah · Sep 28, 2020 at 07:36 PM ·
c#listscriptable object
Add ScriptableObject to an List
Hello,
I have a question. I made a Power Up system that allows you to drive over a Power Up and get you a specific power-up. But now I want you to get a random power up. Each power up is a Scriptable object. So it seems to me the easiest to put all Scriptable objects in a List and then extract a random Scriptable Object from it. I just have no idea how to add a Scriptable Object to a List. Can someone help me with this?
So the question is. How can I add Scriptable objects to an List?
Thank you in advance.
Comment
Your answer

Follow this Question
Related Questions
A node in a childnode? 1 Answer
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
how to repeat randomize questions in a list? 3 Answers
Removing a Component while in a List 1 Answer