public void clickColorTexture() { colorTextureSelect = true; DirectoryInfo di = new DirectoryInfo(Directory.GetCurrentDirectory()); fbd.draw(myFileBrowserDialog.BrowserMode.FileSelect, di, new string[] { ".png", ".bmp", ".jpg", ".tif" }); buildingMenu.transform.Find("Panel").gameObject.SetActive(false); }
public void EditTextureClick(GameObject skinItem) { string objName = skinItem.name; string[] substrings = objName.Split(new char[] { ' ' }); TextureSelection = int.Parse(substrings[substrings.Length - 1]); highwayMenu.transform.Find("Panel").gameObject.SetActive(false); DirectoryInfo di = new DirectoryInfo(Directory.GetCurrentDirectory()); fbd.draw(myFileBrowserDialog.BrowserMode.FileSelect, di, new string[] { ".png", ".jpg", ".bmp", ".tif" }); }