Add new feature.

Added ILogger;
Added IGraphProcessor;

Changed return type of OnExecute method in BaseNode from void to bool;
This commit is contained in:
Misaki
2024-11-03 02:09:19 +09:00
parent e645a5327b
commit 5a9d8b9420
20 changed files with 332 additions and 40 deletions

View File

@@ -0,0 +1,14 @@
using System;
using UnityEngine;
namespace Misaki.GraphView
{
public interface ILogger
{
public Action<BaseNode, string, LogType> OnLog { get; set; }
public void LogInfo(BaseNode node, string message);
public void LogWarning(BaseNode node, string message);
public void LogError(BaseNode node, string message);
}
}