Exemple #1
0
 public override string GetRunNodeName()
 {
     if (_actionNode.NodeStatus == NodeStatusEnum.Running ||
         _actionNode.NodeStatus == NodeStatusEnum.Success)
     {
         return(_actionNode.GetRunNodeName());
     }
     return(base.GetRunNodeName());
 }
        void OnDrawGizmos()
        {
#if UNITY_EDITOR
            if (EditorApplication.isPlaying &&
                _rootNode != null)
            {
                UnityEditor.Handles.Label(transform.position, _rootNode.GetRunNodeName());
            }
#endif
        }