Question by
mrandrewmcombs · Jul 01, 2019 at 01:10 PM ·
variablesscriptableobjectlistspresets
How do I access variables from Scriptable Objects in an array?
Hi! I'm currently working on an asset that will use presets that are found by putting all scriptable objects into a list. Is there any way to test if it is a certain file type (ex. A certain type of scriptable object that follows an order), and then get variables out of that? I'm just using a default layout for a scriptable object, and am using ScripableObject presets = Resources.LoadAll("Presets"); to put all of the presets in an array. If anyone knows how I can do this, please let me know.
Comment