From ac6e5dfe2a563561224a377959559066312a60e1 Mon Sep 17 00:00:00 2001 From: teascade Date: Mon, 8 May 2017 23:29:18 +0300 Subject: [PATCH] Add docs to Server and NetworkEstablisher --- Assets/Scripts/Networking/NetworkEstablisher.cs | 8 ++++---- Assets/Scripts/Networking/Server.cs | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Assets/Scripts/Networking/NetworkEstablisher.cs b/Assets/Scripts/Networking/NetworkEstablisher.cs index 2b4dddc..bc39ebb 100644 --- a/Assets/Scripts/Networking/NetworkEstablisher.cs +++ b/Assets/Scripts/Networking/NetworkEstablisher.cs @@ -4,10 +4,10 @@ using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; -/** - * This class is used pretty much anywhere in order to make the "first step" of networking. - * It adds the proper components to World Root and tells them to start. - * */ +/// +/// This class is used pretty much anywhere in order to make the "first step" of networking. +/// It adds the proper components to World Root and tells them to start. +/// public class NetworkEstablisher : MonoBehaviour { /// diff --git a/Assets/Scripts/Networking/Server.cs b/Assets/Scripts/Networking/Server.cs index 6e2de6b..cf3d7a5 100644 --- a/Assets/Scripts/Networking/Server.cs +++ b/Assets/Scripts/Networking/Server.cs @@ -3,6 +3,9 @@ using System.Collections.Generic; using UnityEngine; using UnityEngine.Networking; +/// +/// Server-class used to host a server and communicate to clients. +/// public class Server : MonoBehaviour { private static Server Singleton;