-
Notifications
You must be signed in to change notification settings - Fork 575
feat: adding NetworkSimulator [MTT-6084] #841
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
Conversation
* Can change preset via dropdown
| void OnScenarioChanged(int optionIndex) | ||
| { | ||
| var scenarioName = m_ScenariosDropdown.options[optionIndex].text; | ||
| m_NetworkSimulator.Scenario = m_Scenarios.ContainsKey(scenarioName) ? m_Scenarios[scenarioName] : null; |
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.
I'm easily able to reproduce an error when toggling a new scenario when ConnectionCycle scenario is already active.
Reproduction steps:
- Hit ConnectionsCycle scenario from dropdown
- While scenario is running, select another scenario from dropdown that isn't None.
- While new scenario is running, select ConnectionsCycle scenario once again.
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.
Coming back to this, not yet sure if this is a Tools bug, or a bad usage from my part. I'll investigate this further
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.
Will re-review once more when we find out if it's on our end or not, so I'll keep this open for now.
|
Closing this and including the changes here in #843 instead to avoid conflict issues with squash and merge |
Description
This PR adds the NetworkSimulator tool to Boss Room. It can be used in the editor through the inspector, as by default, or through a new popup window which exposes some of its functionality. This window is accessible in development builds.
Issue Number(s)
MTT-6084
Contribution checklist