This commit is contained in:
CortexCore
2024-03-31 23:31:00 +08:00
parent e179d2eb53
commit b7b89ee71a
641 changed files with 31286 additions and 22134 deletions

View File

@@ -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
{