Description
The ParticleSystem
property represents the asset type for Particle System files, which have the .vpcf
extension. This property is part of the Editor.AssetType
class and is used to identify and manage particle system assets within the editor environment.
Usage
Use the ParticleSystem
property to access the asset type for particle systems when working with assets in the editor. This can be useful for filtering assets, loading specific types of assets, or performing operations that are specific to particle systems.
Example
// Example of using the ParticleSystem asset type
// Access the ParticleSystem asset type
var particleSystemType = Editor.AssetType.ParticleSystem;
// Use the asset type to find all particle system assets
var allParticleSystems = Editor.AssetType.All.Where(asset => asset == particleSystemType);
// Iterate through the particle system assets
foreach (var particleSystem in allParticleSystems)
{
// Perform operations with each particle system asset
// For example, load the resource or display its properties
}