C# Class LevelGen, SelectivePerception

Inheritance: MonoBehaviour
Show file Open project: hs-furtwangen/SelectivePerception Class Usage Examples

Public Properties

Property Type Description
Char GameObject
_goal GameObject
_ground GameObject
_light GameObject
_particle GameObject
_start GameObject
_text GameObject
_trap GameObject
_wall GameObject
_wire GameObject

Public Methods

Method Description
Init ( ) : void
LoadLevel ( string pathname ) : void
LoadLight ( string pathname ) : void
SetChar ( GameObject _char ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
BlockChar ( ) : IEnumerator
CheckField ( int ln, int p, string txt ) : bool
FallDown ( ) : IEnumerator
IsCrossing ( int ln, int p, string line, string txt ) : bool
PlayParticle ( ) : IEnumerator

Method Details

Init() public method

public Init ( ) : void
return void

LoadLevel() public method

public LoadLevel ( string pathname ) : void
pathname string
return void

LoadLight() public method

public LoadLight ( string pathname ) : void
pathname string
return void

SetChar() public method

public SetChar ( GameObject _char ) : void
_char GameObject
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

Char public property

public GameObject Char
return GameObject

_goal public property

public GameObject _goal
return GameObject

_ground public property

public GameObject _ground
return GameObject

_light public property

public GameObject _light
return GameObject

_particle public property

public GameObject _particle
return GameObject

_start public property

public GameObject _start
return GameObject

_text public property

public GameObject _text
return GameObject

_trap public property

public GameObject _trap
return GameObject

_wall public property

public GameObject _wall
return GameObject

_wire public property

public GameObject _wire
return GameObject