You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

28 lines
759 B

using System;
using System.Linq;
using System.Collections.Generic;
using UnityEngine;
namespace UnityEngine.VFX.Utility
{
/// <summary>
/// A ClassAttribute for use with VFXBinderBase in order to set the Add Menu Path in Inspector.
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
public class VFXBinderAttribute : PropertyAttribute
{
/// <summary>
/// The Specified Menu Path for this VFXBinder
/// </summary>
public string MenuPath;
/// <summary>
/// Specifies a Add Menu Path for this VFXBinder.
/// </summary>
/// <param name="menuPath"></param>
public VFXBinderAttribute(string menuPath)
{
MenuPath = menuPath;
}
}
}