AchievementItem
A class in Root.Township, the global namespace.
One row on an achievement board that shows a GameAchievement description as text. Filled by AchievementBoard.
- Listed in Global namespace: A to B
- Inherits or implements
MonoBehaviour,IAchievementItem
Constructors
| Member | What it is |
|---|---|
AchievementItem() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private GameAchievement achievement | The achievement this row shows. |
private TextRenderer textRenderer | Text that shows the description. |
Methods
| Member | What it is |
|---|---|
void SetAchievement(GameAchievement achievement) | Sets the achievement and shows its description. |
1 private and internal method
Used in
Members of other types that take, return or hold a AchievementItem: