C# Class LanternPuzzle, Hellbound

Logic to open the door in the war crypt by hanging lanterns on correct hooks By Aleksi Lindeman Modified by Arvid Backman
Inheritance: MonoBehaviour
ファイルを表示 Open project: Backman/Hellbound

Public Methods

Method Description
onLanternPlaced ( GameObject obj, bool tr ) : void
onPickupLantern ( GameObject obj, bool tr ) : void
removeLanternFromInventory ( GameObject obj, bool tr ) : void

Private Methods

Method Description
Start ( ) : void
Update ( ) : void

Method Details

onLanternPlaced() public method

public onLanternPlaced ( GameObject obj, bool tr ) : void
obj GameObject
tr bool
return void

onPickupLantern() public method

public onPickupLantern ( GameObject obj, bool tr ) : void
obj GameObject
tr bool
return void

removeLanternFromInventory() public method

public removeLanternFromInventory ( GameObject obj, bool tr ) : void
obj GameObject
tr bool
return void