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,32 @@
using System;
using UnityEngine;
namespace Cainos.LucidEditor
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Method, AllowMultiple = true)]
public class HelpBoxAttribute : Attribute
{
public readonly string message;
public readonly HelpBoxMessageType type;
public HelpBoxAttribute(string message)
{
this.message = message;
this.type = HelpBoxMessageType.Info;
}
public HelpBoxAttribute(string message, HelpBoxMessageType type)
{
this.message = message;
this.type = type;
}
}
public enum HelpBoxMessageType
{
None,
Info,
Warning,
Error
}
}