Scriptable Object e.g.
NewWeapon.asset with variables such as
I've also added a
public GameObject weaponObject; so that I can drag and drop the 3D model related to this weapon.
Scriptable Objects cannot be added in a scene, how can I add a
GameObject in the scene with an attached script that will draw data from the
NewWeapon.asset and display the
3DModel already specified and load up the rest of the variables?
My goal is to create a script
Item.cs which will be attached to a
GameObject in the scene and then based on the current
ScriptableObject load its name, stats and