Пример #1
0
    void OnDestroy()
    {
        Debug.Log("ENGINE DESTROYED");
        theClient.RemoveTurnBasedRoomRequestListener(this);
        theClient.RemoveRoomRequestListener(this);

        theClient.RemoveConnectionRequestListener(this);
        theClient.RemoveNotificationListener(this);
    }
Пример #2
0
 void OnDestroy()
 {
     Debug.Log("GameCONT OnDestroy");
     theClient.RemoveConnectionRequestListener(this);
 }