void processFiles(string path) { try { if (path.EndsWith(".txt")) { readPoints = new CCtoVoxelReader(LoadedData); startedJob = true; readPoints.readFile(path); } } catch (Exception e) { Debug.Log("You don't get the point do you..."); Debug.LogError(e.Message); } }
void clearReader() { readPoints = null; GC.Collect(); }