C# Class PoisonDoorPuzzle, Hellbound

Logic to open a door and start "sickness" when the poison has been used By Aleksi Lindeman Modified by Arvid Backman, Simon Jonasson
Inheritance: MonoBehaviour
Exibir arquivo Open project: Backman/Hellbound

Public Properties

Property Type Description
m_MusicEmitter FMOD_StudioEventEmitter,

Public Methods

Method Description
Start ( ) : void
Update ( ) : void
onBottleRemove ( GameObject obj, bool tr ) : void
onDoorPoisonDrunk ( GameObject thisObject, bool triggerOnlyForThis ) : void
onDrinkDoorPoison ( GameObject obj, bool tr ) : void
onMoveBottleToHand ( GameObject obj, bool tr ) : void

Private Methods

Method Description
startSickness ( GameObject doorToOpen ) : IEnumerator

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

onBottleRemove() public method

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

onDoorPoisonDrunk() public method

public onDoorPoisonDrunk ( GameObject thisObject, bool triggerOnlyForThis ) : void
thisObject GameObject
triggerOnlyForThis bool
return void

onDrinkDoorPoison() public method

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

onMoveBottleToHand() public method

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

Property Details

m_MusicEmitter public_oe property

public FMOD_StudioEventEmitter, m_MusicEmitter
return FMOD_StudioEventEmitter,