Table of Contents

Interface ISoundPlayer

Namespace
PopcorningGuineaPig.Engine.Services
Assembly
PopcorningGuineaPig.Engine.dll
public interface ISoundPlayer

Methods

PlaySound(string, float)

Task PlaySound(string soundPath, float volume = 1)

Parameters

soundPath string
volume float

Returns

Task

Update()

Updates any currently playing music streams. Must be called every frame.

void Update()

UpdateSettings(string, float)

Task UpdateSettings(string playlist, float volume = 100)

Parameters

playlist string
volume float

Returns

Task