-
Notifications
You must be signed in to change notification settings - Fork 435
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
chore: test project updates 2023-Q3 #2679
chore: test project updates 2023-Q3 #2679
Conversation
Updated several samples to use UnityTransport as opposed to UNet. Limited number of objects spawned, adjusted the ray cast line renderer, updated the physics player to have a ray pointing towards its forward (to know the direction you are going) in physics example. Adjusted the connect mode buttons so they will automatically re-appear when you disconnect. Updated several projects to have their own network prefab list. .
m_AuthenticationButtons.SetActive(NetworkManager.Singleton && !NetworkManager.Singleton.IsListening && !AuthenticationService.Instance.IsSignedIn); | ||
if (m_ConnectionModeButtons != null) | ||
{ | ||
m_ConnectionModeButtons.SetActive(false || AuthenticationService.Instance.IsSignedIn); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...ok, I know this isn't your code, but isn't false || IsSignedIn
literally identical to just IsSignedIn
? false || false
=> false
, false || true
=> true
...
This seems... really silly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah... I wasn't sure what that was all about...
It really should just be checking AuthenticationService.Instance.IsSignedIn
...
This PR just contains several clean up related fixes for NGO's test project samples and manual tests.
Testing and Documentation