Description
The Soundscape
property of the Editor.AssetType
class represents a soundscape asset type within the editor. A soundscape is typically used to define a complex audio environment, often composed of multiple sound elements that create an immersive auditory experience.
Usage
Use the Soundscape
property to access the soundscape asset type when working with assets in the editor. This property is static and can be accessed directly from the Editor.AssetType
class.
Example
// Accessing the Soundscape asset type
Editor.AssetType soundscapeType = Editor.AssetType.Soundscape;
// Example usage: Finding a specific soundscape asset by name
Editor.AssetType foundAsset = Editor.AssetType.Find("MySoundscape", true);
if (foundAsset == soundscapeType)
{
// Do something with the soundscape asset
}