C# Class Behaviour_DoorSimple, Hellbound

Behaviour_ simple door. This behaviour is supposed to represent simple doors which can be activated to open. When they are opened, they rotate around their pivot point along the selected axis, as long as they are not locked. Doors are "one shot" use only. Thus, after they have been opened they cannot be closed again. Created by Simon Jonasson
Inheritance: Interactable
Mostrar archivo Open project: Backman/Hellbound

Public Properties

Property Type Description
m_Closed SimpleDoorClosedState
m_DoorCloseSound FMODAsset,
m_DoorOpenSound FMODAsset,
m_Locked SimpleDoorLockedState
m_Opened SimpleDoorOpenedState

Protected Properties

Property Type Description
m_Callbacks HbClips.animationCallback[]

Public Methods

Method Description
activate ( ) : void
activateCallback ( ) : void
beginCallback ( ) : void
close ( ) : bool
endCallback ( ) : void
examine ( ) : void
lockDoor ( ) : void
movementDone ( ) : void
movementDoneUpdateFocus ( ) : void
open ( ) : bool
toggle ( ) : void
unlockAndOpen ( ) : void
unlockDoor ( ) : void

Protected Methods

Method Description
Awake ( ) : void

Method Details

Awake() protected method

protected Awake ( ) : void
return void

activate() public method

public activate ( ) : void
return void

activateCallback() public method

public activateCallback ( ) : void
return void

beginCallback() public method

public beginCallback ( ) : void
return void

close() public method

public close ( ) : bool
return bool

endCallback() public method

public endCallback ( ) : void
return void

examine() public method

public examine ( ) : void
return void

lockDoor() public method

public lockDoor ( ) : void
return void

movementDone() public method

public movementDone ( ) : void
return void

movementDoneUpdateFocus() public method

public movementDoneUpdateFocus ( ) : void
return void

open() public method

public open ( ) : bool
return bool

toggle() public method

public toggle ( ) : void
return void

unlockAndOpen() public method

public unlockAndOpen ( ) : void
return void

unlockDoor() public method

public unlockDoor ( ) : void
return void

Property Details

m_Callbacks protected_oe property

protected HbClips.animationCallback[] m_Callbacks
return HbClips.animationCallback[]

m_Closed public_oe property

public SimpleDoorClosedState m_Closed
return SimpleDoorClosedState

m_DoorCloseSound public_oe property

public FMODAsset, m_DoorCloseSound
return FMODAsset,

m_DoorOpenSound public_oe property

public FMODAsset, m_DoorOpenSound
return FMODAsset,

m_Locked public_oe property

public SimpleDoorLockedState m_Locked
return SimpleDoorLockedState

m_Opened public_oe property

public SimpleDoorOpenedState m_Opened
return SimpleDoorOpenedState