Esempio n. 1
0
	public void AddClient( OmicronEventClient c )
	{
		if( omicronClients != null )
			omicronClients.Add(c);
		else
		{
			// First run case since client may attempt to connect before
			// OmicronManager Start() is called
			omicronClients = new ArrayList();
			omicronClients.Add(c);
		}
	}
Esempio n. 2
0
	public void AddClient( OmicronEventClient c )
	{
        Debug.Log("OmicronManager: OmicronEventClient " + c.name + " added of type " + c.GetClientType());
        if (omicronClients != null)
        {
            omicronClients.Add(c);
        }
        else
        {
            // First run case since client may attempt to connect before
            // OmicronManager Start() is called
            omicronClients = new ArrayList();
            omicronClients.Add(c);
        }
	}
	public void AddClient( OmicronEventClient c )
	{
		if( omicronClients != null )
			omicronClients.Add(c);
		else
		{
			// First run case since client may attempt to connect before
			// OmicronManager Start() is called
			omicronClients = new ArrayList();
			omicronClients.Add(c);
		}
	}