A game object component that manages given chapters. It will take a panel to populate with a given prefab UIChapterEntryPrefab. More...
Public Attributes | |
Chapter[] | ListOfChapters |
The list of chapters to render. More... | |
RectTransform | ContainerContentPanel |
The container panel that will get populated by the instanced chapter prefabs. More... | |
GameObject | UIChapterEntryPrefab |
A prefab to multiply and populate over the gaven panel. This prefab, must contain:
| |
Color | UnCompletedColor = new Color(0.3f, 0.3f, 0.3f, 0.5f) |
The background color of an uncompleted's chapter button. More... | |
Color | UnCompletedTextColor = Color.black |
The text color of an uncompleted chapter's button. More... | |
Color | CompletedColor = new Color(0.5f, 0.5f, 0.5f, 0.1f) |
The background color of a completed chapter's button. More... | |
Color | CompletedTextColor = Color.black |
The text color of a completed chapter button. More... | |
A game object component that manages given chapters. It will take a panel to populate with a given prefab UIChapterEntryPrefab.
Color Components.ChapterManager.CompletedColor = new Color(0.5f, 0.5f, 0.5f, 0.1f) |
The background color of a completed chapter's button.
Color Components.ChapterManager.CompletedTextColor = Color.black |
The text color of a completed chapter button.
RectTransform Components.ChapterManager.ContainerContentPanel |
The container panel that will get populated by the instanced chapter prefabs.
Chapter [] Components.ChapterManager.ListOfChapters |
The list of chapters to render.
GameObject Components.ChapterManager.UIChapterEntryPrefab |
A prefab to multiply and populate over the gaven panel. This prefab, must contain:
Color Components.ChapterManager.UnCompletedColor = new Color(0.3f, 0.3f, 0.3f, 0.5f) |
The background color of an uncompleted's chapter button.
Color Components.ChapterManager.UnCompletedTextColor = Color.black |
The text color of an uncompleted chapter's button.