UnityEngine.Networking.NetworkClient.AddClient C# (CSharp) Method

AddClient() static private method

static private AddClient ( NetworkClient client ) : void
client NetworkClient
return void
        internal static void AddClient(NetworkClient client)
        {
            s_Clients.Add(client);
        }

Usage Example

コード例 #1
0
 public NetworkClient()
 {
     if (LogFilter.logDev)
     {
         Debug.Log("Client created version " + Version.Current);
     }
     this.m_MsgBuffer = new byte[65535];
     this.m_MsgReader = new NetworkReader(this.m_MsgBuffer);
     NetworkClient.AddClient(this);
 }
All Usage Examples Of UnityEngine.Networking.NetworkClient::AddClient