void Start() { m_Actor = new CActor(); m_Client = new Net.Tcp.TcpClient(m_Actor); m_Client.Start(); Tools.GetComponent <Tools>().SendJoinGameReq(); DontDestroyOnLoad(gameObject); }
void Awake() { m_Actor = new CActor(); m_Client = new Net.Tcp.TcpClient(m_Actor); m_Client.Start(); }