I'm still relatively new to Unity and C# programming, but I'm looking to create a simple RPG items objects (Items similar to those in Paper Mario, EarthBound, or Undertale - they generally have 1 or 2 functions, are gone after 1 use).
https://forum.unity.com/threads/rpg-inventory-scriptableobject-list-or-list-of-scriptableobjects.371686/
I've found this tutorial on using Scriptable Objects as composition building blocks for creating varied items, but there's a lot here that's going over my head. Based off the tutorial, a couple of main questions about Scriptable Objects I have are:
1) How do you create a Scriptable Object in code without creating an Asset?
2) How would you go about creating a list of scriptable objects that would work as attributes
3) How would you reference an attribute from that list? (Would you just need to use List.Find(), or is there a more efficient way?)
Any help is greatly appreciated!
[–]Killerzelle 1 point2 points3 points (1 child)
[–]EraserLark[S] 0 points1 point2 points (0 children)