C# Class LockedInteractable, Hellbound

Locked interactable. Legacy script, no longer in use. Was previusly used to regulate objects which could be locked/unlocked. Was obsolete by Alexis PuzzleLogic system Created by Simon Jonasson
Inheritance: Interactable
显示文件 Open project: Backman/Hellbound

Public Properties

Property Type Description
m_FSM StateMachine
m_LockedState LockedState
m_LockedText string
m_NeedsItems List
m_NeedsToBeOpen List
m_OpenedState OpenedState

Public Methods

Method Description
activate ( ) : void
allItems ( ) : bool
allKeys ( ) : bool
allOpen ( ) : bool
examine ( ) : void
useWith ( GameObject obj ) : void

Protected Methods

Method Description
Start ( ) : void

Private Methods

Method Description
initializeKeyState ( ) : void

Method Details

Start() protected method

protected Start ( ) : void
return void

activate() public method

public activate ( ) : void
return void

allItems() public method

public allItems ( ) : bool
return bool

allKeys() public method

public allKeys ( ) : bool
return bool

allOpen() public method

public allOpen ( ) : bool
return bool

examine() public method

public examine ( ) : void
return void

useWith() public method

public useWith ( GameObject obj ) : void
obj GameObject
return void

Property Details

m_FSM public_oe property

public StateMachine m_FSM
return StateMachine

m_LockedState public_oe property

public LockedState m_LockedState
return LockedState

m_LockedText public_oe property

public string m_LockedText
return string

m_NeedsItems public_oe property

public List m_NeedsItems
return List

m_NeedsToBeOpen public_oe property

public List m_NeedsToBeOpen
return List

m_OpenedState public_oe property

public OpenedState m_OpenedState
return OpenedState