35 lines
679 B
C#
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
|
|
}
|
|
} |