Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@hisasann
Created August 30, 2013 05:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hisasann/6386501 to your computer and use it in GitHub Desktop.
Save hisasann/6386501 to your computer and use it in GitHub Desktop.
using UnityEngine;
using System;
using System.Collections;
public class Callback {
public static IEnumerator waitForCallback(float waitTime, Action callback) {
yield return new WaitForSeconds(waitTime);
callback();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment