Public Attributes | List of all members
Components.ChapterManager Class Reference

A game object component that manages given chapters. It will take a panel to populate with a given prefab UIChapterEntryPrefab. More...

Inheritance diagram for Components.ChapterManager:

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:

  • A button component (at the root);
  • A image component (at the root);
  • A text game object (as child).
More...
 
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...
 

Detailed Description

A game object component that manages given chapters. It will take a panel to populate with a given prefab UIChapterEntryPrefab.

Member Data Documentation

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:

  • A button component (at the root);
  • A image component (at the root);
  • A text game object (as child).

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.


The documentation for this class was generated from the following file: