示例#1
0
    private void Start()
    {
        Co.Delay(() => Debug.Log("after 1 second"), 1f);
        Co.Delay(() => Debug.Log("after 2 seconds"), 2f);

        var plainClass = new PlainClass();

        plainClass.TestCoroutine();
    }
示例#2
0
 public static void Delay(float delay, System.Action callback)
 {
     Co.Delay(callback, delay);
     //StartCoroutine (DelayProcess (delay, callback));
 }