Example #1
0
    public void CreatePathDebug(TerrainManager TerrainManager_, ja2.TerrainTile From, ja2.TerrainTile To)
    {
        if (actualTask != null)
            actualTask.Stop();

        actualTask = new utils.Task(CreatePathDebug_CoRo(TerrainManager_, From, To));
    }
Example #2
0
 public static Coroutine WaitForTask(System.Collections.IEnumerator Function)
 {
     var task = new Task(Function, false);
     // Start explicitely and return Coroutine instance
     return task.Start();
 }