C# Class LevelsTable, RoverGame

Inheritance: MonoBehaviour
Afficher le fichier Open project: Stumpstump/RoverGame Class Usage Examples

Méthodes publiques

Свойство Type Description
currentLevelID int
levelPrefab GameObject
levelsParent Transform
starOff Sprite
starOn Sprite
tableLevels List

Méthodes publiques

Méthode Description
OnEnable ( ) : void

When the GameObject becomes visible

Private Methods

Méthode Description
Awake ( ) : void
CreateLevels ( ) : void

Creates the levels.

SettingUpLevel ( TableLevel, tableLevel, int ID ) : void

Settings up the level contents in the table.

Method Details

OnEnable() public méthode

When the GameObject becomes visible
public OnEnable ( ) : void
Résultat void

Property Details

currentLevelID public_oe static_oe property

The current or selected level ID.
public static int currentLevelID
Résultat int

levelPrefab public_oe property

The level prefab.
public GameObject levelPrefab
Résultat GameObject

levelsParent public_oe property

The levels parent.
public Transform levelsParent
Résultat Transform

starOff public_oe property

The star off sprite.
public Sprite starOff
Résultat Sprite

starOn public_oe property

The star on sprite.
public Sprite starOn
Résultat Sprite

tableLevels public_oe static_oe property

The table levels.
public static List tableLevels
Résultat List