This commit is contained in:
CortexCore
2023-08-11 23:57:37 +08:00
parent 936a94c84b
commit 75889ec34f
149 changed files with 6524 additions and 1043 deletions

View File

@@ -20,14 +20,17 @@ namespace BITKit
{
return validHandle.enableHandle;
}
public bool Allow => this;
private bool enableHandle;
private int enableElementCount;
private int disableElementCount;
List<object> objs = new List<object>();
List<object> disableObjs = new List<object>();
[System.NonSerialized]
bool tempEnable;
public Action<bool> EventOnEnableChanged;
private readonly List<object> objs = new List<object>();
private readonly List<object> disableObjs = new List<object>();
private bool tempEnable;
private Action<bool> EventOnEnableChanged;
public virtual void AddElement(object obj)
{
if (objs.Contains(obj))