C# Class BlockSound, Imagine_block-knock

Script to control sound playback for the blocks when it comes in contact with other game objects in the level.
Inheritance: MonoBehaviour
Mostrar archivo Open project: Microsoft/Imagine_block-knock Class Usage Examples

Public Properties

Property Type Description
blockHitBlock UnityEngine.AudioClip
blockHitTable UnityEngine.AudioClip

Public Methods

Method Description
OnCollisionEnter ( Collision collision ) : void
Start ( ) : void

Method Details

OnCollisionEnter() public method

public OnCollisionEnter ( Collision collision ) : void
collision Collision
return void

Start() public method

public Start ( ) : void
return void

Property Details

blockHitBlock public_oe property

public AudioClip,UnityEngine blockHitBlock
return UnityEngine.AudioClip

blockHitTable public_oe property

public AudioClip,UnityEngine blockHitTable
return UnityEngine.AudioClip