breakpoint
before update unity version
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
namespace BITKit
|
||||
using System;
|
||||
|
||||
namespace BITKit
|
||||
{
|
||||
|
||||
public interface IAwake { void OnAwake(); }
|
||||
@@ -23,7 +25,11 @@
|
||||
public interface IFixedUpdate { void OnFixedUpdate(float deltaTime); }
|
||||
public interface ILateUpdate { void OnLateUpdate(float deltaTime); }
|
||||
public interface IDestroy { void OnDestroyComponent(); }
|
||||
|
||||
[Serializable]
|
||||
public struct EmptyAction : IAction
|
||||
{
|
||||
public void Execute() { }
|
||||
}
|
||||
|
||||
public class BehaviorUpdater
|
||||
{
|
||||
|
@@ -1,8 +1,11 @@
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace BITKit
|
||||
{
|
||||
|
||||
|
||||
public interface IReference
|
||||
{
|
||||
string Get();
|
||||
|
@@ -41,11 +41,18 @@ namespace BITKit
|
||||
public bool Allow => this;
|
||||
|
||||
private bool enableHandle;
|
||||
private readonly List<object> objs = new List<object>();
|
||||
private readonly List<object> disableObjs = new List<object>();
|
||||
/// <summary>
|
||||
/// ⚠️Dont operate this field directly
|
||||
/// </summary>
|
||||
public readonly List<object> objs = new List<object>();
|
||||
/// <summary>
|
||||
/// ⚠️Dont operate this field directly
|
||||
/// </summary>
|
||||
public readonly List<object> disableObjs = new List<object>();
|
||||
private bool tempEnable;
|
||||
private Action<bool> EventOnEnableChanged;
|
||||
|
||||
|
||||
public void AddElement(object obj)
|
||||
{
|
||||
if (objs.Contains(obj))
|
||||
|
Reference in New Issue
Block a user