C# Class UnityPlatformer.LevelData

ファイルを表示 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_oe property

Is a bonud level?
public bool isBonusLevel
return bool

isMenu public_oe property

Is a menu?
public bool isMenu
return bool

level public_oe property

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

nextLevel public_oe property

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

sceneName public_oe property

Scene name
public string sceneName
return string

startLocked public_oe property

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

unlock public_oe property

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

world public_oe property

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