Question by
IAMBATMAN · Mar 09, 2016 at 02:32 PM ·
networkingintconvert
NetworkIdentity.netID to int
NetworkIdentity.netID is a networkInstance is is there a way of converting it to an int? or another thing I could use instead?
Comment
Answer by molx88 · Mar 09, 2016 at 08:32 PM
I convert netID to a string and use that string when comparing or finding players. It's a unique value assigned to a networked object, so a string works well.
But I need it to be an int so I can get an array of text for each players score.