private void createTexture() { MapCreater mapCreater = new MapCreater(); mapCreater.Generate(); var texture = mapCreater.Texture; var path = Application.dataPath; mapCreater.SaveRenderTextureToPNG(texture, path, "noiseTest4"); Debug.Log(path); }
private void createTexture() { MapCreater mapCreater = new MapCreater(); mapCreater.Generate(); var texture = mapCreater.Texture; var path = Application.dataPath; mapCreater.SaveRenderTextureToPNG(texture, path, "noiseTest4"); Debug.Log(path); }