-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.Players dictionary should be private #66
Comments
Can we also add the snippet to keep players array in unity docs? might be something like:
|
Will get this done. Is there a better way we could/should handle Players @asadm ? Just wondering, we're currently maintaining it in three places. (JS side, then Unity side, then Game side) |
I've made a PR for docs (asadm/playroom-docs#43). @momintlh - Please make the method/field private, in a PR here. |
There was a discussion in discord to use a List / Array instead of the dictionary but still keeping it public. So should I do that or just make it private for now? |
Just private for now. We're providing docs to guide users. |
We will revisit the idea of List / Array in another release. |
- RPC events name sync between players. - Made Players dictionary private #66
Completed in #67 |
@asadm Is |
What happened?
People should just use OnPlayerJoin callback.
Version
0.0.20
What is your environment?
No response
Link to original discussion
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: