Platformer Pro  2.3.2
A platform game kit for Unity.
PlatformerPro.LevelLockData Class Reference

Stores lock data (which is typically about a locked/unlocked level). More...

Public Member Functions

 LevelLockData ()
 Initializes a new instance of the PlatformerPro.LevelLockData class. More...
 
 LevelLockData (string levelKey, bool isUnlocked, int rating)
 Initializes a new instance of the PlatformerPro.LevelLockData class. More...
 

Public Attributes

string levelKey
 Name or key for the level being locked/unlocked. More...
 
bool isUnlocked
 Is the level unlocked? More...
 
int rating
 What rating did the player achieve on level complete More...
 

Detailed Description

Stores lock data (which is typically about a locked/unlocked level).

Constructor & Destructor Documentation

◆ LevelLockData() [1/2]

PlatformerPro.LevelLockData.LevelLockData ( )

Initializes a new instance of the PlatformerPro.LevelLockData class.

◆ LevelLockData() [2/2]

PlatformerPro.LevelLockData.LevelLockData ( string  levelKey,
bool  isUnlocked,
int  rating 
)

Initializes a new instance of the PlatformerPro.LevelLockData class.

Parameters
levelKeyLevel key.
isUnlockedIf set to true is unlocked.

Member Data Documentation

◆ isUnlocked

bool PlatformerPro.LevelLockData.isUnlocked

Is the level unlocked?

◆ levelKey

string PlatformerPro.LevelLockData.levelKey

Name or key for the level being locked/unlocked.

◆ rating

int PlatformerPro.LevelLockData.rating

What rating did the player achieve on level complete


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