C# Class Tests.FakeAudioSource

Inheritance: Uniject.TestableComponent, IAudioSource
Datei anzeigen Open project: yeticgi/Uniject

Public Methods

Method Description
FakeAudioSource ( TestableGameObject obj ) : System
Play ( ) : void
loopSound ( AudioClip clip ) : void
playOneShot ( AudioClip clip ) : void

Method Details

FakeAudioSource() public method

public FakeAudioSource ( TestableGameObject obj ) : System
obj TestableGameObject
return System

Play() public method

public Play ( ) : void
return void

loopSound() public method

public loopSound ( AudioClip clip ) : void
clip UnityEngine.AudioClip
return void

playOneShot() public method

public playOneShot ( AudioClip clip ) : void
clip UnityEngine.AudioClip
return void