mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Added comments as requested
This commit is contained in:
parent
c621049080
commit
b7bfee3a91
@ -429,6 +429,8 @@ void SetupClient()
|
|||||||
/// <summary>Starts the client, connects it to the server with networkAddress.</summary>
|
/// <summary>Starts the client, connects it to the server with networkAddress.</summary>
|
||||||
public void StartClient()
|
public void StartClient()
|
||||||
{
|
{
|
||||||
|
// Do checks and short circuits before setting anything up.
|
||||||
|
// If / when we retry, we won't have conflict issues.
|
||||||
if (NetworkClient.active)
|
if (NetworkClient.active)
|
||||||
{
|
{
|
||||||
Debug.LogWarning("Client already started.");
|
Debug.LogWarning("Client already started.");
|
||||||
|
Loading…
Reference in New Issue
Block a user