summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/AI/AINodeFactory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/AI/AINodeFactory.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/AI/AINodeFactory.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/AI/AINodeFactory.cs b/Client/Assets/Scripts/XMainClient/AI/AINodeFactory.cs
index 525f4e19..6a0dd813 100644
--- a/Client/Assets/Scripts/XMainClient/AI/AINodeFactory.cs
+++ b/Client/Assets/Scripts/XMainClient/AI/AINodeFactory.cs
@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Xml;
using XUtliPoolLib;
+using UnityEngine;
namespace XMainClient
{
@@ -9,8 +10,10 @@ namespace XMainClient
{
private static Dictionary<string, AIRunTimeNodeBase> _node_dic = new Dictionary<string, AIRunTimeNodeBase>();
+ //c 根据名称加载对应的AI action
public static AIRunTimeNodeBase CreateAINodeByName(string nodeName, XmlElement xmlNode)
{
+ Debug.Log("Behaviour Designer Load: " + nodeName);
bool flag = nodeName == "Selector";
AIRunTimeNodeBase result;
if (flag)