Forum begins after the advertisement:
See discounted assets
-
LêFormer Patron
::
I can level up old weapon normally but can’t add new weapon.
When i click on new weapon its not find Object in AddWeapon function at this line
weaponLevels[slotIndex] = weapon.weapondata.Levels
::
Hi Le, do you mean that the new weapon appears in your upgrade panel when you level up, but when you click on it nothing happens?
Can you take a screenshot of your Console and show me the errors there?
LêFormer Patron
::
Yes, but I’ve fixed it. Thank you
::
What was the issue with it?
LêFormer Patron
::
I don’t know exactly what the error is but when I placed weaponScriptableObject on top in Script Execution Order it worked properly
LêFormer Patron
::
Thanks for the clarification Lê.
Advertisement below: