updat core

This commit is contained in:
2024-10-22 19:10:15 +08:00
parent fbbd08e0a5
commit d48401607d
75 changed files with 68830 additions and 116 deletions

View File

@@ -64,7 +64,7 @@ namespace XFFSM
#region
protected void Update()
public void DoUpdate()
{
if (!Initialized)
return;
@@ -78,25 +78,25 @@ namespace XFFSM
}
}
protected void LateUpdate()
{
if (!Initialized)
return;
foreach (var item in Instances)
{
item.LateUpdate();
}
}
protected void FixedUpdate()
{
if (!Initialized)
return;
foreach (var item in Instances)
{
item.FixedUpdate();
}
}
// protected void LateUpdate()
// {
// if (!Initialized)
// return;
// foreach (var item in Instances)
// {
// item.LateUpdate();
// }
// }
//
// protected void FixedUpdate()
// {
// if (!Initialized)
// return;
// foreach (var item in Instances)
// {
// item.FixedUpdate();
// }
// }
private void OnDestroy()