TrafficSafe/Assets/Script/Tool/BehavirTree/Action/DebugTest.cs

18 lines
320 B

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using SampleBehavirTree;
public class DebugTest : ActionNode
{
public string info = "";
public override IEnumerator Execute()
{
Debug.Log(info);
state = State.Succeed;
return base.Execute();
}
}