Created
September 12, 2014 08:59
-
-
Save olegtyshcneko/b65aeec2587cbb9cbe8f to your computer and use it in GitHub Desktop.
Unity3d Delayed Courutine class
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
| public class DelayedCourutine { | |
| public float Seconds { get; set; } | |
| public IEnumerator Courutine { get; set; } | |
| public static DelayedCourutine CreateDelayedCourutine(float seconds, IEnumerator cour) { | |
| return new DelayedCourutine() { | |
| Courutine = cour, | |
| Seconds = seconds | |
| }; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment