コード例 #1
0
ファイル: TestScript.cs プロジェクト: PlumpMath/Unity3D-Co
    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));
 }