Example #1
0
        private void OnConnectionClosed(ZView sender, IntPtr connection)
        {
            ZView.ConnectionCloseAction action = sender.GetConnectionCloseAction(connection);
            ZView.ConnectionCloseReason reason = sender.GetConnectionCloseReason(connection);

            Debug.Log(string.Format("<color=green>Connection Closed: (Action={0}, Reason={1})</color>", action, reason));
        }