Initial commit: Unity WordConnect project
This commit is contained in:
@ -0,0 +1,20 @@
|
||||
using System;
|
||||
|
||||
namespace VContainer.Unity
|
||||
{
|
||||
sealed class AsyncLoopItem : IPlayerLoopItem
|
||||
{
|
||||
readonly Action action;
|
||||
|
||||
public AsyncLoopItem(Action action)
|
||||
{
|
||||
this.action = action;
|
||||
}
|
||||
|
||||
public bool MoveNext()
|
||||
{
|
||||
action();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user