C# Class Foundation.Databinding.Audio2DSource

Inheritance: UnityEngine.MonoBehaviour
ファイルを表示 Open project: NVentimiglia/Unity3d-Foundation

Public Properties

Property Type Description
Clip UnityEngine.AudioClip
Delay int
Layer AudioLayer
Loop bool
Pitch float
PlayOnEnable bool
Volume float

Protected Properties

Property Type Description
FirstTime bool

Public Methods

Method Description
Play ( ) : void

play audio with delay

Play ( float delay ) : void

play audio

Stop ( ) : void

Stops playing the audio

Protected Methods

Method Description
OnDisable ( ) : void
OnEnable ( ) : void

Private Methods

Method Description
PlayAsync ( float delay ) : IEnumerator

Method Details

OnDisable() protected method

protected OnDisable ( ) : void
return void

OnEnable() protected method

protected OnEnable ( ) : void
return void

Play() public method

play audio with delay
public Play ( ) : void
return void

Play() public method

play audio
public Play ( float delay ) : void
delay float
return void

Stop() public method

Stops playing the audio
public Stop ( ) : void
return void

Property Details

Clip public_oe property

public AudioClip,UnityEngine Clip
return UnityEngine.AudioClip

Delay public_oe property

public int Delay
return int

FirstTime protected_oe property

protected bool FirstTime
return bool

Layer public_oe property

public AudioLayer Layer
return AudioLayer

Loop public_oe property

public bool Loop
return bool

Pitch public_oe property

public float Pitch
return float

PlayOnEnable public_oe property

public bool PlayOnEnable
return bool

Volume public_oe property

public float Volume
return float