예제 #1
0
 private void ShowCellMapDrawerForm(CellMapDrawerForm form, ICellMap map, IList <Vector2Int> path)
 {
     if (InvokeRequired)
     {
         BeginInvoke(new Action <CellMapDrawerForm, ICellMap, IList <Vector2Int> >(ShowCellMapDrawerForm), form, map, path);
         return;
     }
     Debug.WriteLine($"CellMapDrawerForm showed on thread {Thread.CurrentThread.ManagedThreadId}");
     form.ShowMap(map, path);
 }