protected override EBTStatus decorate(EBTStatus status) { Debug.Check(this.GetNode() is DecoratorLog); DecoratorLog pDecoratorLogNode = (DecoratorLog)(this.GetNode()); behaviac.Debug.LogWarning(string.Format("DecoratorLogTask:{0}\n", pDecoratorLogNode.m_message)); return(status); }
protected override EBTStatus decorate(EBTStatus status) { Debug.Check(this.GetNode() is DecoratorLog); DecoratorLog pDecoratorLogNode = (DecoratorLog)(this.GetNode()); //behaviac.Debug.Log(string.Format("DecoratorLogTask:{0}\n", pDecoratorLogNode.m_message)); CustomLog.Instance.Output(pDecoratorLogNode.fileName, pDecoratorLogNode.m_message); return(status); }
protected override EBTStatus decorate(EBTStatus status) { DecoratorLog decoratorLog = (DecoratorLog)base.GetNode(); return(status); }