Table of Contents

Method CreateResource

Namespace
Bonsai.Audio.Configuration
Assembly
Bonsai.Audio.dll

CreateResource(ResourceManager)

Creates a new source of spatialized audio.

public override AudioSource CreateResource(ResourceManager resourceManager)

Parameters

resourceManager ResourceManager

The ResourceManager object onto which this resource will be loaded. The resource manager can be accessed to load additional resource dependencies which may be required to create the new resource.

Returns

AudioSource

A new instance of the AudioSource class.