This commit is contained in:
CortexCore
2023-06-05 16:25:06 +08:00
parent 9027120bb8
commit 4565ff2e35
2947 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
{
"name": "BITKit.Node.Unity",
"rootNamespace": "",
"references": [
"GUID:a209c53514018594f9f482516f2a6781",
"GUID:517785bb4600a5140b47eac5fa49b8fc",
"GUID:14fe60d984bf9f84eac55c6ea033a8f4"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

View File

@@ -0,0 +1,22 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace BITKit
{
public class MonoCondition : MonoBehaviour, ICondition, IAction
{
public bool isSuccess;
public void Excute()
{
isSuccess = true;
}
public bool OnCheck()
{
return isSuccess;
}
public void Reset()
{
isSuccess = false;
}
}
}