Files
iFactory.Cutting.Unity/Assets/BITKit/Core/Node/ICondition.cs
CortexCore fd39099061 init
2024-01-23 02:56:26 +08:00

17 lines
314 B
C#

using System;
namespace BITKit
{
public interface ICondition
{
public bool Allow => OnCheck();
public string Reason=> "Not Implemented";
bool OnCheck();
}
[Serializable]
public struct AllowCondition : ICondition
{
public bool OnCheck() => true;
}
}