Struct LeaderboardPanelPlacementApplier.PlacedElement
One rect paired directly with the placement to apply to it — the shape a caller with its own list of
owners (e.g. UnityLeaderboardPanel's authored buttons) uses instead of
LeaderboardPanelPlacementApplier.ElementTarget, which only covers the fixed LeaderboardViewElements.
Inherited Members
Namespace: Serenity.Leaderboard.Infrastructure.Views
Assembly: Serenity.UnityLeaderboard.Infrastructure.dll
Syntax
public readonly struct LeaderboardPanelPlacementApplier.PlacedElement
Constructors
PlacedElement(RectTransform, LeaderboardElementPlacement)
Declaration
public PlacedElement(RectTransform rect, LeaderboardElementPlacement placement)
Parameters
| Type | Name | Description |
|---|---|---|
| RectTransform | rect | |
| LeaderboardElementPlacement | placement |
Properties
Placement
The placement to apply to Rect.
Declaration
public LeaderboardElementPlacement Placement { get; }
Property Value
| Type | Description |
|---|---|
| LeaderboardElementPlacement |
Rect
The rect to place.
Declaration
public RectTransform Rect { get; }
Property Value
| Type | Description |
|---|---|
| RectTransform |