23 lines
544 B
C#
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;
|
||
|
}
|
||
|
}
|