C# Class Assets.Scripts.Environment.Interactable.BasicSwitch

Inheritance: UnityEngine.MonoBehaviour, IInteractable
ファイルを表示 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_oe property

public AudioClip,UnityEngine Error
return UnityEngine.AudioClip

IsOn public_oe property

public bool IsOn
return bool

Off public_oe property

public Sprite,UnityEngine Off
return UnityEngine.Sprite

On public_oe property

public Sprite,UnityEngine On
return UnityEngine.Sprite

Open public_oe property

public AudioClip,UnityEngine Open
return UnityEngine.AudioClip

RequiredKey public_oe property

public string RequiredKey
return string

Switchable public_oe property

public GameObject,UnityEngine Switchable
return UnityEngine.GameObject