Add assets

This commit is contained in:
2025-05-08 16:03:30 +09:00
parent cd4ebdb0a7
commit 57b037e0a9
977 changed files with 91747 additions and 28 deletions

View File

@@ -0,0 +1,20 @@
using System;
using System.Linq;
namespace Cainos.LucidEditor
{
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public class PropertyGroupAttribute : Attribute
{
public readonly string path;
public readonly string name;
public readonly int groupDepth;
public PropertyGroupAttribute(string groupPath)
{
this.path = groupPath;
name = path.Split('/').Last();
groupDepth = path.Count(x => x == '/');
}
}
}