ProjectDDD/Packages/com.distantlands.cozy.core/Runtime/Utility/CozySearchable.cs
2025-07-08 19:46:31 +09:00

29 lines
621 B
C#

using System;
using UnityEngine;
using System.Collections.Generic;
using DistantLands.Cozy.Data;
using UnityEngine.Serialization;
namespace DistantLands.Cozy
{
public class CozySearchable : PropertyAttribute
{
public string[] keywords;
public bool deepSearch;
public CozySearchable(params string[] keywords)
{
this.keywords = keywords;
this.deepSearch = false;
}
public CozySearchable(bool deepSearch, params string[] keywords)
{
this.keywords = keywords;
this.deepSearch = deepSearch;
}
}
}