C# Class Assets.Scripts.Extensions.AudioSourceExtensions

Exibir arquivo Open project: maximecharron/GLO-3002-Frima

Public Methods

Method Description
PlayAudioClip ( this audioSource, AudioClip audioClip, bool loop = false, float volume = 1f ) : void

Method Details

PlayAudioClip() public static method

public static PlayAudioClip ( this audioSource, AudioClip audioClip, bool loop = false, float volume = 1f ) : void
audioSource this
audioClip UnityEngine.AudioClip
loop bool
volume float
return void