using System.Collections; using System.Collections.Generic; using UnityEngine; //学员数量变化测试 public class SudentCountChangeTest : MonoBehaviour { // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { //if (Input.GetKeyDown(KeyCode.Space)) //{ // for (int i = 0; i < 10; i++) // { // User user = new User(); // user.user = $"用户{i}"; // GameMain.Instance.onlineStudents.Add($"192.168.1.{i}", user); // } //} } }