mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 19:34:47 +00:00
24 lines
421 B
C#
24 lines
421 B
C#
namespace BehaviorTreeSlayer
|
|
{
|
|
public class Log : ActionNode
|
|
{
|
|
[OutField]
|
|
public string Text = "";
|
|
|
|
public Log()
|
|
{
|
|
|
|
}
|
|
|
|
public Log(string text)
|
|
{
|
|
Text = text;
|
|
}
|
|
|
|
public override TaskResult Tick(double dt, object args = null)
|
|
{
|
|
UnityEngine.Debug.Log(Text);
|
|
return TaskResult.OK;
|
|
}
|
|
}
|
|
} |