Files
Echo/Assets/_Project/Scripts/LLM Manager/Facts/FactOperationBehaviour.cs
T
2026-07-08 20:42:51 +08:00

27 lines
629 B
C#

using LLM.Facts;
using UnityEngine;
namespace LLM.Facts
{
public class FactOperationBehaviour : MonoBehaviour
{
[SerializeField] private FactOperationType type = FactOperationType.Add;
[SerializeField] private string key;
[TextArea]
[SerializeField] private string value;
[SerializeField] private string source = "Event";
public FactOperation ToOperation()
{
return new FactOperation
{
type = type,
key = key,
value = value,
source = source
};
}
}
}