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

        theClient.RemoveConnectionRequestListener(this);
        theClient.RemoveNotificationListener(this);
    }