Files
CartoonRPG/Library/PackageCache/com.unity.visualeffectgraph@2973a8ac1070/Runtime/Utilities/PropertyBinding/VFXBinderAttribute.cs

29 lines
759 B
C#
Raw Normal View History

2025-06-05 22:59:18 +01:00
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;
}
}
}