Files
Net.Like.Xue.Tokyo/Packages-Local/Com.Project.B.Unity/AI/AIBlackBoard.cs
2025-06-24 23:49:13 +08:00

23 lines
544 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using BITKit.Entities;
using Unity.Mathematics;
using UnityEngine;
namespace Net.Project.B.AI
{
public class AIBlackBoard
{
public IEntity Target { get; set; }
public IEntity Dialogue { get; set; }
public Memory<IEntity> AvailableTargets { get; set; }
public float AlertValue
{
get => _alertValue;
set => _alertValue = math.clamp(value, 0, 1);
}
private float _alertValue;
}
}