Search found 5 matches

by TheGaijin87
Wed Dec 01, 2021 12:09 am
Forum: General Discussion
Topic: Reference to instances of scriptable objects
Replies: 8
Views: 1343

Re: Reference to instances of scriptable objects

send you a pm with an example of what i mean and some instructions. if anything is unclear please let me know. i think the problem is that ES3 handles instances of scriptable objects the same as scriptable objects. they are their own object. it would have to work more like prefabs where the instance...
by TheGaijin87
Tue Nov 30, 2021 11:19 am
Forum: General Discussion
Topic: Reference to instances of scriptable objects
Replies: 8
Views: 1343

Re: Reference to instances of scriptable objects

i read that one already in another post about essentially the same problem and unfortunately it didnt help him nor me. or i am misunderstanding it somehow but i did add a code snippet that saves each scriptable object instance once when it gets created but he still couldnt find it. i will try to mak...
by TheGaijin87
Mon Nov 29, 2021 10:30 pm
Forum: General Discussion
Topic: Reference to instances of scriptable objects
Replies: 8
Views: 1343

Re: Reference to instances of scriptable objects

Right now im doing it very basic with a simple: ES3.Save(this.name, this.gameObject); on the inventory that is holding all the information about its contents, e.g. which item (scriptable object instance) and amount. when i exit playmode and enter it again and try to load it just says that the object...
by TheGaijin87
Mon Nov 29, 2021 10:30 am
Forum: General Discussion
Topic: Reference to instances of scriptable objects
Replies: 8
Views: 1343

Re: Reference to instances of scriptable objects

Didnt have time to check it out over the weekend but will try again tomorrow. In essence its quite simple: i have scriptable objects that represent my items. now if i have the same sword twice in my inventory they need to have different durability values (or maybe different stats altogether) so i ma...
by TheGaijin87
Sat Nov 27, 2021 5:15 am
Forum: General Discussion
Topic: Reference to instances of scriptable objects
Replies: 8
Views: 1343

Reference to instances of scriptable objects

I read through the documentation but either i dont see the connection or its not in there... my problem is that i have an item system that uses scriptable objects as items. now some of those items have fields that could change on a per item basis so instead of using the scriptable object directly i ...