This class controls the story of the ranges of the current user. This panel shows all the times the current user has reached a new range and the time when that happen.
More...
|
override void | fillPanel () |
| This method is called to instanciate the panel. It creates a prefab for each time the current user has leveled up his range. It changes the panelFilled_ property to true. More...
|
|
abstract void | fillPanel () |
| This method is called to instanciate the panel and add the prefabs as panels elements. It is an abstract method so, every class that inherit from this class must have its own fillPanel method. More...
|
|
void | adjustPanelSize () |
|
|
GameObject | range_ |
| GameObject that contains the text where the range name will be displayed. More...
|
|
GameObject | rangeImage_ |
| GameObject that contains the icon of the range. More...
|
|
GameObject | score_ |
| GameObject that contains the text where the score will be displayed. More...
|
|
|
virtual void | elementDeleted (GameObject elementDeleted) |
| tries to remove the given gameobject of the items property. If the gameobject isnt on the list, it will raise an index out of range exception. More...
|
|
GameObject | prefab_ |
| GameObject that contains the prefab that represent an element of the panel. More...
|
|
GameObject | noItemsImage_ |
| GameObject that contains the image that will be shown when the panel is empty. More...
|
|
bool | panelFilled_ |
| if its true means that the panel was already filled, false in otherwhise. More...
|
|
List< GameObject > | items_ |
| List of the prefabs that are instanciated. More...
|
|
int | lastCount_ |
| it stores the last quantity of items which the panel has adapted its height. More...
|
|
float | initialHeight_ |
| initial height of the panel. More...
|
|
This class controls the story of the ranges of the current user. This panel shows all the times the current user has reached a new range and the time when that happen.
◆ fillPanel()
override void RangeStoryPanel.fillPanel |
( |
| ) |
|
|
protectedvirtual |
This method is called to instanciate the panel. It creates a prefab for each time the current user has leveled up his range. It changes the panelFilled_ property to true.
Implements adaptableSizePanel.
◆ range_
GameObject RangeStoryPanel.range_ |
|
private |
GameObject that contains the text where the range name will be displayed.
◆ rangeImage_
GameObject RangeStoryPanel.rangeImage_ |
|
private |
GameObject that contains the icon of the range.
◆ score_
GameObject RangeStoryPanel.score_ |
|
private |
GameObject that contains the text where the score will be displayed.
The documentation for this class was generated from the following file: