mirror of
https://github.com/MaddyThorson/StrawberryBF.git
synced 2026-11-09 18:15:14 +08:00
IEarlyUpdate
This commit is contained in:
1 parent
1fb4ed7c9b
commit
7f1c1d8337
2 files changed
+8
No files matched your search
@@ -0,0 +1,7 @@
|
|||||||
|
namespace Strawberry
|
||||||
|
{
|
||||||
|
public interface IEarlyUpdate
|
||||||
|
{
|
||||||
|
public void EarlyUpdate();
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -38,6 +38,7 @@ namespace Strawberry
|
|||||||
|
|
||||||
public virtual void Update()
|
public virtual void Update()
|
||||||
{
|
{
|
||||||
|
ForEach<IEarlyUpdate>(scope (u) => u.EarlyUpdate());
|
||||||
ForEach<IUpdate>(scope (u) => u.Update());
|
ForEach<IUpdate>(scope (u) => u.Update());
|
||||||
ForEach<ILateUpdate>(scope (u) => u.LateUpdate());
|
ForEach<ILateUpdate>(scope (u) => u.LateUpdate());
|
||||||
UpdateLists();
|
UpdateLists();
|
||||||
|
|||||||
Reference in new issue
Block a user