I need to implement various type pf weapons and I need to divide them in categories
This is not possible. 32 is the number of bits an integer type has, which is used as a bit-mask to improve performance when checking whether an item belongs to a certain type/s.
We could use a long int, but Unity does't provide Editor GUI controls for these types. Despite this, 32 types should be enough for most games.
Customer support service by UserEcho