Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

[Other]: Question - Sleeping a startup script? #201

Open
ccgm-harpy opened this issue Dec 27, 2022 · 0 comments
Open

[Other]: Question - Sleeping a startup script? #201

ccgm-harpy opened this issue Dec 27, 2022 · 0 comments

Comments

@ccgm-harpy
Copy link

ccgm-harpy commented Dec 27, 2022

Is it possible to make a startup script sleep without causing the process to hang?

For example:
UnityExplorer.ExplorerCore.Log("1");
someSleepFunction(time);
UnityExplorer.ExplorerCore.Log("2");

I know there's coroutines, however those have to be compiled before being executed which defeats the purpose of a startup script for me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant