using System; using UnityEngine; namespace UnityEditor.VFX { /// /// VFX Template descriptor /// [Serializable] public struct VFXTemplateDescriptor : IVFXTemplateDescriptor { /// /// Name of the template /// public string name; /// /// Category is used to group templates together in the template window /// public string category; /// /// Give some description to your template so that we know what it's doing /// public string description; /// /// This icon is displayed next to the name in the template window /// public Texture2D icon; /// /// Thumbnail is displayed with the description in the details panel of the template window /// public Texture2D thumbnail; /// /// Internal use only /// [NonSerialized] public string assetGuid; /// /// Internal use only /// [NonSerialized] public int order; /// /// Same as the name /// public string header => name; } }