public static void RestoreAllData() { if (GetEasyRoads3DObjects()) { OQQDODDCQC.ODCCDODCOQ(Selection.activeGameObject); OQOCOOCCQO.OOOQODCQDD(true, 100, 4, "", Selection.activeGameObject); OQQDODDCQC.ODCOOOQCQQ(Selection.activeGameObject); } else { EditorUtility.DisplayDialog("Alert", "No EasyRoads3D objects found! Terrain functions cannot be accessed!", "Close"); } }
public static void OOODOQQDOD() { 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"); } OQOCOOCCQO.OOOQODCQDD(true, 100, 4, path, Selection.activeGameObject); } else { EditorUtility.DisplayDialog("Alert", "No EasyRoads3D objects found! Terrain functions cannot be accessed!", "Close"); } }