1
Fork 0
mirror of https://github.com/Steffo99/better-tee.git synced 2024-11-22 07:14:19 +00:00
better-tee/Assets/Code/ServerMainController.cs
2019-09-16 00:28:36 +02:00

15 lines
318 B
C#

using UnityEngine;
using System.Collections.Generic;
using Mirror;
public class ServerMainController : MonoBehaviour
{
public const int MAX_CONNECTIONS = 32;
public bool isListening = false;
public void ServerStart() {
NetworkServer.Listen(MAX_CONNECTIONS);
isListening = true;
}
}