You've already forked taptap2024_GJ_chidouren
updat core
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user