Advertisement
Guest User

Untitled

a guest
Feb 6th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.47 KB | None | 0 0
  1. public static void Prexport() {
  2.         Debug.Log("XXX Prexport");
  3.  
  4.  
  5.         Debug.Log("Data path is: " + Application.dataPath);
  6.  
  7.         string libraryPath = Application.dataPath.Replace("/Assets", "/Library");
  8.  
  9.         string facebookSDKPath = libraryPath + "/FacebookSDK";
  10.  
  11.         Debug.Log(facebookSDKPath);
  12.  
  13.         if (Directory.Exists(facebookSDKPath)) {
  14.             Directory.Delete(facebookSDKPath, true);
  15.         }
  16.         else {
  17.             Debug.Log("Facebook directory does not exist in the library folder");
  18.         }
  19.  
  20.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement