Skip to content

Add Manual Update extension#668

Closed
weicai995 wants to merge 1 commit intoCysharp:masterfrom
weicai995:Add_manual_update_for_delaytype
Closed

Add Manual Update extension#668
weicai995 wants to merge 1 commit intoCysharp:masterfrom
weicai995:Add_manual_update_for_delaytype

Conversation

@weicai995
Copy link
Copy Markdown

Add an extension to the DelayType and PlayerLoopTiming

Here is an example to create a manual type task.

UniTask.Delay(TimeSpan.FromSeconds(value), DelayType.ManualTime, PlayerLoopTiming.ManualUpdate,
                cancellationToken);

Use method PlayerLoopHelper.ManualUpdate(); to manually update this type of task. It provides a good way to keep synchronization in Lockstep sync.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 1, 2026

This PR is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the stale label Jan 1, 2026
@github-actions github-actions bot closed this Jan 31, 2026
@zh99998
Copy link
Copy Markdown

zh99998 commented Mar 11, 2026

this feature is very useful on Deterministic Lockstep RTS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants