Ejemplo n.º 1
0
 public static void  RestoreAllData()
 {
     if (GetEasyRoads3DObjects())
     {
         OQQOCQDCCQ.OOCDDCDCDO(Selection.activeGameObject);
         ODQOOOQOQO.ODQCODODCQ(true, 100, 4, "", Selection.activeGameObject);
         OQQOCQDCCQ.OOQCCQDDCO(Selection.activeGameObject);
     }
     else
     {
         EditorUtility.DisplayDialog("Alert", "No EasyRoads3D objects found! Terrain functions cannot be accessed!", "Close");
     }
 }
Ejemplo n.º 2
0
    public static void  OODOCQOCCD()
    {
        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");
            }


            ODQOOOQOQO.ODQCODODCQ(true, 100, 4, path, Selection.activeGameObject);
        }
        else
        {
            EditorUtility.DisplayDialog("Alert", "No EasyRoads3D objects found! Terrain functions cannot be accessed!", "Close");
        }
    }