Page cover

Workshop Browser Simple Item Record

Like what your seeing?

Introduction

Displays a list of the clans the user sees e.g. is a member of or otherwise has a relationship with.

namespace HeathenEngineering.SteamworksIntegration.UI
public class WorkshopBrowserSimpleItemRecord : MonoBehaviour, 
                                               IWorkshopBrowserItemTemplate

Fields and Attributes

Preview Image

public RawImage previewImage;

Display for the primary preview image of the item

Title Label

public TMPro.TextMeshProUGUI titleLabel;

Display for the item's title

Author Label

Display for the name of the author if known

Vote Fill Image

A simple image that will be set to fill, when the item is loaded its vote ratio will be used to fill this image. This can be used to display the number of stars by creating an image with 5 starts in a row spaced tip to tip over the width of the image. If set to fill from left to right then a ratio of 0.8 would be presented as 4 of the 5 stars filled.

Tip Title Label

This is the header or "title" of the tooltip window that will show when the user mouses over this item.

Tip Description Label

This is the body of text that will appear in the tooltip window when the user mouses over this item.

Item

Used to apply the WorkshopItem this entry will represent or read which item was applied.

Methods

Load

sets the item this entry represents

Last updated