public NameRegistry() { DirectoryInfo dir = new DirectoryInfo(StreamingAssets.GetPath("Data/Names")); FileInfo[] fileInfo = dir.GetFiles("*.txt"); foreach (FileInfo file in fileInfo) { Read(file.FullName); } }
new void Awake() { SetResolution(1, 1); name = "Overlay"; base.Awake(); GeneratePalette("rainbow_bgyrm_35-85_c71_n256.csv"); paletteData = Directory.GetFiles(StreamingAssets.GetPath("Colormaps"), "*.csv"); }