public void Unselected()
    {
        FriendListUIElement component = base.GetComponent <FriendListUIElement>();

        if (component != null)
        {
            component.SetSelected(false);
        }
    }
    public bool IsSelected()
    {
        FriendListUIElement component = base.GetComponent <FriendListUIElement>();

        return((component != null) && component.IsSelected());
    }