TH1/Unity/Assets/Scripts/BTNodeCanvas/BaseCondition.cs
2025-10-22 17:26:33 +08:00

35 lines
679 B
C#

/*
* @Author: 白哉
* @Description:
* @Date: 2025年06月06日 星期五 19:06:16
* @Modify:
*/
using System;
using System.ComponentModel;
using NodeCanvas.Framework;
using UnityEngine;
namespace NodeCanvas.Tasks.Actions
{
[Category("AI节点")]
[Serializable]
public class BaseCondition : ConditionTask
{
[SerializeField]
private uint nodeId;
public uint NodeId
{
get => nodeId;
set => nodeId = value;
}
//#if UNITY_EDITOR
protected override string info => $"<color=#4A90E2>ID:{desc}</color>";
protected virtual string desc => string.Empty;
//#endif
}
}