C# Class LevelsTable, RoverGame

Inheritance: MonoBehaviour
显示文件 Open project: Stumpstump/RoverGame Class Usage Examples

Public Properties

Property Type Description
currentLevelID int
levelPrefab GameObject
levelsParent Transform
starOff Sprite
starOn Sprite
tableLevels List

Public Methods

Method Description
OnEnable ( ) : void

When the GameObject becomes visible

Private Methods

Method 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 method

When the GameObject becomes visible
public OnEnable ( ) : void
return void

Property Details

currentLevelID public_oe static_oe property

The current or selected level ID.
public static int currentLevelID
return int

levelPrefab public_oe property

The level prefab.
public GameObject levelPrefab
return GameObject

levelsParent public_oe property

The levels parent.
public Transform levelsParent
return Transform

starOff public_oe property

The star off sprite.
public Sprite starOff
return Sprite

starOn public_oe property

The star on sprite.
public Sprite starOn
return Sprite

tableLevels public_oe static_oe property

The table levels.
public static List tableLevels
return List