public static void RestoreAllData() { if (GetEasyRoads3DObjects()) { ODDQOOCDOC.OOCDCOQQQQ(Selection.activeGameObject); ODDQOOCDOC.OOCCDQOQQC(true, 100, 4, "", Selection.activeGameObject); ODDQOOCDOC.OCDDOODQOQ(Selection.activeGameObject); } else { EditorUtility.DisplayDialog("Alert", "No EasyRoads3D objects found! Terrain functions cannot be accessed!", "Close"); } }
public static void OOCDQOOCDD() { if (GetEasyRoads3DObjects()) { string path = ""; if (EditorUtility.DisplayDialog("Road Splatmap", "Would you like to merge the terrain splatmap(s) with a road splatmap?", "Yes", "No")) { path = EditorUtility.OpenFilePanel("Select png road splatmap texture", "", "png"); } ODDQOOCDOC.OOCCDQOQQC(true, 100, 4, path, Selection.activeGameObject); } else { EditorUtility.DisplayDialog("Alert", "No EasyRoads3D objects found! Terrain functions cannot be accessed!", "Close"); } }