C# Class BallInnerSounds, goalBall

Plays the sounds that the ball makes on the inside of the ball. Mainly simulates the bells in the balls.
Inheritance: MonoBehaviour
Show file Open project: DrexelGoalBall/goalBall

Public Properties

Property Type Description
ball GameObject
bells UnityEngine.AudioClip
threshold float
tone UnityEngine.AudioClip

Public Methods

Method Description
FixedUpdate ( ) : void

Plays the sounds inside the ball based on the velocity that the ball is moving.

Start ( ) : void

Initializes the objects and varibles that are used by the script.

Method Details

FixedUpdate() public method

Plays the sounds inside the ball based on the velocity that the ball is moving.
public FixedUpdate ( ) : void
return void

Start() public method

Initializes the objects and varibles that are used by the script.
public Start ( ) : void
return void

Property Details

ball public property

public GameObject ball
return GameObject

bells public property

public AudioClip,UnityEngine bells
return UnityEngine.AudioClip

threshold public property

public float threshold
return float

tone public property

public AudioClip,UnityEngine tone
return UnityEngine.AudioClip