Exemplo n.º 1
0
 /// <summary>
 /// Check once and log activity for the given child and activities.
 /// </summary>
 public void Check()
 {
     Debug.Log("Check");
     Allow2.Check(
         this,
         childId,
         activities,
         delegate(string err, Allow2CheckResult result)
     {
         Debug.Log("Check Error" + err);
         Debug.Log("Paired: " + Allow2.IsPaired);
         if (result != null)
         {
             Debug.Log("Allowed: " + result.IsAllowed);
             if (!result.IsAllowed)
             {
                 Debug.Log(result.Explanation);
             }
         }
     },
         true);
 }