public static void SetTerrain() { if (GetEasyRoads3DObjects()) { ODDQOOCDOC.OOCDCOQQQQ(Selection.activeGameObject); } else { EditorUtility.DisplayDialog("Alert", "No EasyRoads3D objects found! Terrain functions cannot be accessed!", "Close"); } }
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"); } }