C# Class CrossFadeControl, Adagio

Inheritance: MonoBehaviour
Exibir arquivo Open project: technicalvgda/Adagio Class Usage Examples

Public Properties

Property Type Description
audio1 UnityEngine.AudioSource
level2p1 UnityEngine.AudioClip
levelToActivate int

Public Methods

Method Description
CrossFadeOneTwo ( ) : void
CrossFadeTwoThree ( ) : void
IncreaseLevels ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
Start ( ) : void
StartLevelThree ( ) : void
StartLevelTwo ( ) : void

Private Methods

Method Description
ChangeMusicNextLevel ( AudioClip clip2, AudioClip clip3 ) : IEnumerator
ChangeMusicOneAndTwo ( ) : IEnumerator
ChangeMusicTwoAndThree ( ) : IEnumerator

Method Details

CrossFadeOneTwo() public method

public CrossFadeOneTwo ( ) : void
return void

CrossFadeTwoThree() public method

public CrossFadeTwoThree ( ) : void
return void

IncreaseLevels() public method

public IncreaseLevels ( ) : void
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

Start() public method

public Start ( ) : void
return void

StartLevelThree() public method

public StartLevelThree ( ) : void
return void

StartLevelTwo() public method

public StartLevelTwo ( ) : void
return void

Property Details

audio1 public_oe property

public AudioSource,UnityEngine audio1
return UnityEngine.AudioSource

level2p1 public_oe property

public AudioClip,UnityEngine level2p1
return UnityEngine.AudioClip

levelToActivate public_oe property

public int levelToActivate
return int