public void AttachListeners()
        {
            SelfAvailableHandler = delegate(GameState.PlayerInfo self)
            {
                Self = self;
                if (self == null)
                {
                    YourIdInputField.text = "No Id";
                    YourNameInputField.text = "No Name";
                }
                else
                {
                    YourIdInputField.text = self.Id;
                    YourNameInputField.text = self.Name;
                }
            };
            GameManager.Instance.RegisterOnSelfAvailableHandler(SelfAvailableHandler);

            FriendAddedHandler = delegate(string requestedId, GameState.PlayerInfo player)
            {
                if (player == null)
                {
                    StatusText.text += string.Format("Could not find a user with ID {0}.\n", requestedId);
                }
                else
                {
                    StatusText.text += string.Format("Added Friend \"{0}\" who has ID {1}.\n", player.Name, player.Id);
                }
            };
            GameManager.Instance.RegisterFriendAddedHandler(FriendAddedHandler);
        }
        public void AttachListeners()
        {
            SelfAvailableHandler = delegate(GameState.PlayerInfo self)
            {
                Self = self;
                if (self == null)
                {
                    YourIdInputField.text   = "No Id";
                    YourNameInputField.text = "No Name";
                }
                else
                {
                    YourIdInputField.text   = self.Id;
                    YourNameInputField.text = self.Name;
                }
            };
            GameManager.Instance.RegisterOnSelfAvailableHandler(SelfAvailableHandler);

            FriendAddedHandler = delegate(string requestedId, GameState.PlayerInfo player)
            {
                if (player == null)
                {
                    StatusText.text += string.Format("Could not find a user with ID {0}.\n", requestedId);
                }
                else
                {
                    StatusText.text += string.Format("Added Friend \"{0}\" who has ID {1}.\n", player.Name, player.Id);
                }
            };
            GameManager.Instance.RegisterFriendAddedHandler(FriendAddedHandler);
        }