I need unique room numbers.
Options
Hello!
Sorry for my English!
I do not want to create unique room numbers in server (need not string, only int or long).
I found:
Room currentRoom = PhotonNetwork.CurrentRoom;
int hash = currentRoom.GetHashCode();
Is this unique room id?
Can I use it?
Thanks!
Sorry for my English!
I do not want to create unique room numbers in server (need not string, only int or long).
I found:
Room currentRoom = PhotonNetwork.CurrentRoom;
int hash = currentRoom.GetHashCode();
Is this unique room id?
Can I use it?
Thanks!
0
Comments
This discussion has been closed.