Frozzy
1
Hello, how can i make the “public uint count” editable from the Inspector? The only field that ever gets displayed is the one for the item type.
[System.Serializable]
public class ItemInstance : MonoBehaviour
{
public Item itemType;
public uint count=1;
void Start(){}
void Update(){}
}
Jamora
2
If you absolutely require an unsigned int, you will have to create a custom inspector for you class. Otherwise, just change it to a normal int (remove the u) and it’ll show up.