The SoundEvent
property of the Editor.AssetType
class represents a sound event asset type. This property is static and provides a way to access the sound event asset type within the editor environment.
The SoundEvent
property of the Editor.AssetType
class represents a sound event asset type. This property is static and provides a way to access the sound event asset type within the editor environment.
Use the SoundEvent
property to reference sound event assets in your project. This can be useful when you need to categorize or filter assets by type, or when you need to perform operations specific to sound events.
// Accessing the SoundEvent asset type var soundEventType = Editor.AssetType.SoundEvent; // Example usage: Finding all assets of type SoundEvent var soundEventAssets = Asset.FindAssetsByType(soundEventType); foreach (var asset in soundEventAssets) { // Perform operations with each sound event asset // Example: Print the asset's name Console.WriteLine(asset.Name); }