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
Exibir arquivo 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_oe property

public GameObject ball
return GameObject

bells public_oe property

public AudioClip,UnityEngine bells
return UnityEngine.AudioClip

threshold public_oe property

public float threshold
return float

tone public_oe property

public AudioClip,UnityEngine tone
return UnityEngine.AudioClip