Struct LeaderboardPanelPlacementApplier.ElementTarget
One element's resolved target rect, paired with which LeaderboardViewElement it is.
Inherited Members
Namespace: Serenity.Leaderboard.Infrastructure.Views
Assembly: Serenity.UnityLeaderboard.Infrastructure.dll
Syntax
public readonly struct LeaderboardPanelPlacementApplier.ElementTarget
Constructors
ElementTarget(LeaderboardViewElement, RectTransform)
Declaration
public ElementTarget(LeaderboardViewElement element, RectTransform rect)
Parameters
| Type | Name | Description |
|---|---|---|
| LeaderboardViewElement | element | |
| RectTransform | rect |
Properties
Element
Which element of the view Rect renders.
Declaration
public LeaderboardViewElement Element { get; }
Property Value
| Type | Description |
|---|---|
| LeaderboardViewElement |
Rect
The rect to place, or null when the panel has no slot for this element.
Declaration
public RectTransform Rect { get; }
Property Value
| Type | Description |
|---|---|
| RectTransform |