vexe / VFW

MIT License
492 stars 67 forks source link

Issue for Popup in BetterScriptableObject #78

Closed YacineFenina closed 8 years ago

YacineFenina commented 8 years ago

Hello,

I just notice a strange behavior for Popup. When I have severale sheet of BetterScriptable object of the same subtype. if I change the value of one of this sheet, the other one will show the same value.

I looked in the OnChanged function but the new value assigned is the right one.

Do you have an Idea ?

vexe commented 8 years ago

Can you post the code you used to surface the issue?

YacineFenina commented 8 years ago

Actually, I used to create scriptableobject in a wrong way : I duplicate an existing one. Now I use a script to properly create it.

It works. I think I did it the wrong way ! Sorry for my misstake !

vexe commented 8 years ago

You could use the new Unity CreateAssetMenu, it saves you the hassle of doing it from script, you could just right click some where and create the asset http://docs.unity3d.com/ScriptReference/CreateAssetMenuAttribute.html