コード例 #1
0
 private void HandleStatusCommandComplete(int exitCode, string output, string error, StartupCompleteHandler callback)
 {
     if (exitCode == 0)
     {
         callback(true);
     }
     else
     {
         Debug.LogError("lfs status failed: " + error);
         callback(false);
     }
 }
コード例 #2
0
 public void Start(StartupCompleteHandler callback)
 {
     _commandRunner.Run("lfs status", (code, output, error) => HandleStatusCommandComplete(code, output, error, callback));
 }