using System;
using System.Linq;
using System.Collections.Generic;
using UnityEngine;
namespace UnityEngine.VFX.Utility
{
///
/// A ClassAttribute for use with ExposedProperty in order to specify the compatible type of a bound property.
///
[AttributeUsage(AttributeTargets.Field)]
public class VFXPropertyBindingAttribute : PropertyAttribute
{
///
/// The array of compatible editor types, expressed as string including namespace.
/// For instance, the value returned by `typeof(float).FullName` (System.Single).
///
public string[] EditorTypes;
///
/// Specify the compatible type of a bound property.
///
/// The array of compatible editor types, expressed as string including namespace. For instance, the value returned by `typeof(float).FullName` (System.Single).
public VFXPropertyBindingAttribute(params string[] editorTypes)
{
EditorTypes = editorTypes;
}
}
}