Hi, first of all I don't know so much c#. I try to save my inventory in UFPS. For example;
I try to save WeaponsByUnit or UnitBankInstance or etc. (in UFPS), it's shows to me "This property needs a getter and a setter to be able to save it"
How can i fix it? What should I do? How do I add a code in this scripts?
How can i fix this issue? "a getter and a setter"
Re: How can i fix this issue? "a getter and a setter"
Hi there,
Unfortunately as we have no experience with UFPS we can't help directly with it, but you can find information on getters/setters here.
Generally if a property does not have a setter, you shouldn't save it, because the developers might have a reason for not letting you set the value of a property.
All the best,
Joel
Unfortunately as we have no experience with UFPS we can't help directly with it, but you can find information on getters/setters here.
Generally if a property does not have a setter, you shouldn't save it, because the developers might have a reason for not letting you set the value of a property.
All the best,
Joel