Roulette 1.0
Roulette game template
Loading...
Searching...
No Matches
GBTemplates.Roulette.SpinerResultAudio Class Reference

This class is in charge of creating the sound that represents the result in terms of color and number. More...

Inheritance diagram for GBTemplates.Roulette.SpinerResultAudio:

Public Member Functions

void AsampleAudio (int number, string color, bool almostOneChipWon)
 Asamples the audio.
 

Public Attributes

float delayBetweenClips = 0.5f
 
AudioClip redClip
 
AudioClip blackClip
 
AudioClip playerWins
 
List< AudioClip > numbersClip = new List<AudioClip>()
 
AudioSource aSource
 

Detailed Description

This class is in charge of creating the sound that represents the result in terms of color and number.

Member Function Documentation

◆ AsampleAudio()

void GBTemplates.Roulette.SpinerResultAudio.AsampleAudio ( int  number,
string  color,
bool  almostOneChipWon 
)

Asamples the audio.

Parameters
numberThe number.
colorThe color.
almostOneChipWonIf true, almost one chip won.

The documentation for this class was generated from the following file: