Inventory system stat changes

This is the first time working on an inventory system so I have some questions that I couldn´t figure out by looking it up on the Internet. So I use floats for my Playerstats but all the tutorials I looked at used ints I think and
I really dont wanna rewrite my hole stats system. So is there a way for me to change a float with Scriptable Objects or to convert a float to an int easily? I would really appreciate some answers. Thanks.

Hi Zemox.

In every programming languages there are at least one way to convert types

I found this link: Convert float to int in C# | Convert Data Types you can also uses casts for conversion.

Hope it helps :slight_smile: