Skip to content

Instantly share code, notes, and snippets.

@olegtyshcneko
Created September 12, 2014 08:59
Show Gist options
  • Select an option

  • Save olegtyshcneko/b65aeec2587cbb9cbe8f to your computer and use it in GitHub Desktop.

Select an option

Save olegtyshcneko/b65aeec2587cbb9cbe8f to your computer and use it in GitHub Desktop.
Unity3d Delayed Courutine class
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