mirror of
https://github.com/Cysharp/UniTask.git
synced 2026-05-20 22:50:16 +00:00
Add CancellationToken.WaitUntilCanceled
This commit is contained in:
10
README.md
10
README.md
@@ -378,15 +378,7 @@ ECS, PlayerLoop
|
||||
TODO:
|
||||
|
||||
```csharp
|
||||
// Setup Entities Loop.
|
||||
var loop = PlayerLoop.GetDefaultPlayerLoop();
|
||||
foreach (var world in Unity.Entities.World.All)
|
||||
{
|
||||
ScriptBehaviourUpdateOrder.UpdatePlayerLoop(world, loop);
|
||||
loop = PlayerLoop.GetCurrentPlayerLoop();
|
||||
}
|
||||
|
||||
// UniTask PlayerLoop Initialize.
|
||||
var loop = PlayerLoop.GetCurrentPlayerLoop();
|
||||
PlayerLoopHelper.Initialize(ref loop);
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user