Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
SwitchScript
C# Class SwitchScript, PGP2
Inheritance:
MonoBehaviour
显示文件
Open project: theiis/PGP2
Class Usage Examples
Public Properties
Property
Type
Description
isActive
bool
leverSound
UnityEngine.AudioClip
objectsToActivate
GameObject[]
Public Methods
Method
Description
InteractWithObjects
( ) :
void
Start
( ) :
void
Update
( ) :
void
playSound
( ) :
void
Method Details
InteractWithObjects()
public
method
public
InteractWithObjects
( ) :
void
return
void
Start()
public
method
public
Start
( ) :
void
return
void
Update()
public
method
public
Update
( ) :
void
return
void
playSound()
public
method
public
playSound
( ) :
void
return
void
Property Details
isActive
public_oe property
public
bool
isActive
return
bool
leverSound
public_oe property
public
AudioClip,UnityEngine
leverSound
return
UnityEngine.AudioClip
objectsToActivate
public_oe property
public
GameObject[]
objectsToActivate
return
GameObject[]