C# Class InteractableSwitch, OCDEscape

Inheritance: InteractableObject
ファイルを表示 Open project: gadauto3/OCDEscape Class Usage Examples

Public Properties

Property Type Description
animator Animator
disableWhenTurnedOff GameObject[]
disableWhenTurnedOn GameObject[]
enableWhenTurnedOff GameObject[]
enableWhenTurnedOn GameObject[]
offAction UnityAction
onAction UnityAction
playWhenTurnedOff UnityEngine.AudioSource
playWhenTurnedOn UnityEngine.AudioSource
turnedOn bool

Public Methods

Method Description
OnInteract ( GazePointer, pointer ) : bool

Protected Methods

Method Description
Awake ( ) : void
Toggle ( ) : void

Method Details

Awake() protected method

protected Awake ( ) : void
return void

OnInteract() public method

public OnInteract ( GazePointer, pointer ) : bool
pointer GazePointer,
return bool

Toggle() protected method

protected Toggle ( ) : void
return void

Property Details

animator public_oe property

public Animator animator
return Animator

disableWhenTurnedOff public_oe property

public GameObject[] disableWhenTurnedOff
return GameObject[]

disableWhenTurnedOn public_oe property

public GameObject[] disableWhenTurnedOn
return GameObject[]

enableWhenTurnedOff public_oe property

public GameObject[] enableWhenTurnedOff
return GameObject[]

enableWhenTurnedOn public_oe property

public GameObject[] enableWhenTurnedOn
return GameObject[]

offAction public_oe property

public UnityAction offAction
return UnityAction

onAction public_oe property

public UnityAction onAction
return UnityAction

playWhenTurnedOff public_oe property

public AudioSource,UnityEngine playWhenTurnedOff
return UnityEngine.AudioSource

playWhenTurnedOn public_oe property

public AudioSource,UnityEngine playWhenTurnedOn
return UnityEngine.AudioSource

turnedOn public_oe property

public bool turnedOn
return bool