private void Update() { float deltaTime = Time.unscaledDeltaTime; NetServer.Update(deltaTime); ConsoleBootManager.OnUpdate(); }
//Vector2 v2; //private void OnGUI() //{ // v2 = GUILayout.BeginScrollView(v2); // LogService service = LitNetServer.ServiceManager.Get<LogService>(); // foreach (var item in service.GetLogDatas()) // { // GUILayout.Label(item.ToString()); // } // GUILayout.EndScrollView(); //} private void Update() { float deltaTime = Time.unscaledDeltaTime; LitNetServer.Update(deltaTime); ConsoleBootManager.OnUpdate(); //if (Input.GetKeyDown(KeyCode.L)) //{ // Debug.Log("------log----"); //} }