Created
March 13, 2019 13:20
-
-
Save Goncharuk-Nikita/4ef9645d5c0610a59bfa6cdcf6657db2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void Method() | |
{ | |
var wait = new Wait(this); | |
wait.Execute(5.0F).Done += (i) => DoSomething; | |
} | |
private IEnumerator Method() | |
{ | |
yield return new Wait(this, 5.0F); | |
// do something; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment