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[]