예제 #1
0
            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);
            }
예제 #2
0
            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);
            }
예제 #3
0
            protected override EBTStatus decorate(EBTStatus status)
            {
                DecoratorLog decoratorLog = (DecoratorLog)base.GetNode();

                return(status);
            }