C# Class UnityPlatformer.LevelData

Show file Open project: llafuente/unity-platformer

Public Properties

Property Type Description
isBonusLevel bool
isMenu bool
level int
nextLevel int
sceneName string
startLocked bool
unlock int[]
world int

Public Methods

Method Description
LevelData ( ) : UnityEngine

Method Details

LevelData() public method

public LevelData ( ) : UnityEngine
return UnityEngine

Property Details

isBonusLevel public property

Is a bonud level?
public bool isBonusLevel
return bool

isMenu public property

Is a menu?
public bool isMenu
return bool

level public property

Level number, to keep your data tide.
public int level
return int

nextLevel public property

Index of the next level\n -1 means next index
public int nextLevel
return int

sceneName public property

Scene name
public string sceneName
return string

startLocked public property

Start locked?\n NOTE main menu should be false
public bool startLocked
return bool

unlock public property

List of LevelData Indexes (@LevelManager) that will be unlocked
public int[] unlock
return int[]

world public property

World number, to keep your data tide.
public int world
return int