Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Assets
Scripts
Environment
Interactable
BasicSwitch
C# Class Assets.Scripts.Environment.Interactable.BasicSwitch
Inheritance:
UnityEngine.MonoBehaviour
,
IInteractable
Show file
Open project: EricFreeman/DungeonGame
Public Properties
Property
Type
Description
Error
UnityEngine.AudioClip
IsOn
bool
Off
UnityEngine.Sprite
On
UnityEngine.Sprite
Open
UnityEngine.AudioClip
RequiredKey
string
Switchable
UnityEngine.GameObject
Public Methods
Method
Description
Interact
( ) :
void
Start
( ) :
void
Private Methods
Method
Description
CanUse
( ) :
bool
Method Details
Interact()
public
method
public
Interact
( ) :
void
return
void
Start()
public
method
public
Start
( ) :
void
return
void
Property Details
Error
public property
public
AudioClip,UnityEngine
Error
return
UnityEngine.AudioClip
IsOn
public property
public
bool
IsOn
return
bool
Off
public property
public
Sprite,UnityEngine
Off
return
UnityEngine.Sprite
On
public property
public
Sprite,UnityEngine
On
return
UnityEngine.Sprite
Open
public property
public
AudioClip,UnityEngine
Open
return
UnityEngine.AudioClip
RequiredKey
public property
public
string
RequiredKey
return
string
Switchable
public property
public
GameObject,UnityEngine
Switchable
return
UnityEngine.GameObject