document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. public void LoadScriptables()
  2.     {
  3.         Debug.Log("IS: Loading From: " + Application.persistentDataPath);
  4.  
  5.  
  6.         switch (saveType)
  7.         {
  8.             case SaveSwitch.json:
  9.                 Debug.Log("Load is via json");
  10.                 JSONLoad();
  11.                 break;
  12.  
  13.             case SaveSwitch.binary:
  14.                 Debug.Log("Load is via binary");
  15.                 BinaryLoad();
  16.  
  17.                 break;
  18.            
  19.            
  20.             default:
  21.                 break;
  22.         }
  23.     }
');