Add docs to Server and NetworkEstablisher

This commit is contained in:
Sofia 2017-05-08 23:29:18 +03:00
parent 56ff2536b9
commit ac6e5dfe2a
2 changed files with 7 additions and 4 deletions

View File

@ -4,10 +4,10 @@ using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
/** /// <summary>
* This class is used pretty much anywhere in order to make the "first step" of networking. /// 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. /// It adds the proper components to World Root and tells them to start.
* */ /// </summary>
public class NetworkEstablisher : MonoBehaviour { public class NetworkEstablisher : MonoBehaviour {
/// <summary> /// <summary>

View File

@ -3,6 +3,9 @@ using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using UnityEngine.Networking; using UnityEngine.Networking;
/// <summary>
/// Server-class used to host a server and communicate to clients.
/// </summary>
public class Server : MonoBehaviour { public class Server : MonoBehaviour {
private static Server Singleton; private static Server Singleton;