Skip to content

feat: networkingmanager hud - #510

Closed
LukeStampfli wants to merge 4 commits into
developfrom
feature/networkingmanager-hud
Closed

feat: networkingmanager hud#510
LukeStampfli wants to merge 4 commits into
developfrom
feature/networkingmanager-hud

Conversation

@LukeStampfli

@LukeStampfli LukeStampfli commented Feb 28, 2021

Copy link
Copy Markdown
Contributor

Depends on PR #512 to pass first!

Adds a drop in NetworkingManagerHud similar to Unet to MLAPI.

Connecting

image

While connected

image

@LukeStampfli
LukeStampfli changed the base branch from develop to feature/transport-connect-address March 1, 2021 00:07
/// <summary>
/// Stops the running server, client or host.
/// </summary>
public void Stop()

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure whether this is really a nice way to solve this. But I have run into this issue where I just wanted to have MLAPI stop the simulation and I didn't care whether I'm a server, client or host so I added this for convenience.

/// <summary>
/// Gets whether or not a server or client is running.
/// </summary>
public bool IsRunning => IsServer || IsClient;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding this for convenience to check whether the networking manager is running as a client, server or host.

{
[RequireComponent(typeof(NetworkingManager))]
[DisallowMultipleComponent]
public class NetworkingManagerHud : MonoBehaviour

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will update names to new standards once they are out 😃

@LukeStampfli LukeStampfli changed the title Feature/networkingmanager hud feat: networkingmanager hud Mar 1, 2021
@mattwalsh-unity
mattwalsh-unity force-pushed the feature/transport-connect-address branch from 9594925 to 5f007d7 Compare March 4, 2021 01:14
Base automatically changed from feature/transport-connect-address to develop March 4, 2021 07:10
@LukeStampfli

Copy link
Copy Markdown
Contributor Author

Closing this, it's part of the contrib repo, we can explore at a later time whether we want this in core.

@EmandM
EmandM deleted the feature/networkingmanager-hud branch September 17, 2025 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant