using UnityEngine; using UnityEditor; namespace FSM { #if UNITY_EDITOR // 自定义属性类,用于标记需要下拉框的字段 public class DropdownStringAttribute : PropertyAttribute { public string filePath; public DropdownStringAttribute(string filePath) { this.filePath = filePath; } } #endif }