/// <summary>
        /// Display data with specified component.
        /// </summary>
        /// <param name="component">Component to display item.</param>
        public void Display(TreeViewSampleComponent component)
        {
            component.Icon.sprite = Icon;
            component.Text.text   = Name;

            if (component.SetNativeSize)
            {
                component.Icon.SetNativeSize();
            }

            component.Icon.color = (component.Icon.sprite == null) ? Color.clear : Color.white;
        }
 /// <summary>
 /// Display item data using specified component.
 /// </summary>
 /// <param name="component">Component.</param>
 public void Display(TreeViewSampleComponent component)
 {
     component.Icon.sprite = null;
     component.Icon.color  = Color.clear;
     component.Text.text   = Name + " (Countries: " + Countries + ") ";
 }