public static void Setup() { if (SimulateNetworking) { ServerSimulator.Setup(); } LSServer.Setup(); }
public static void Setup(NetworkHelper networkHelper) { NetworkHelper = networkHelper; if (SimulateNetworking) { ServerSimulator.Setup(); } NetworkHelper.OnFrameData += HandleFrameData; NetworkHelper.OnInitData += HandleInitData; LSServer.Setup(); }