コード例 #1
0
 public void SetAvailabilityHandler(ISubscriptionAvailabilityHandler handler)
 {
     availabilityHandler = handler;
     if (IsSatisfied)
     {
         availabilityHandler?.OnAvailable();
     }
 }
コード例 #2
0
 public void SetAvailabilityHandler(ISubscriptionAvailabilityHandler handler)
 {
     availabilityHandler = handler;
     if (subscriptionsSatisfied == subscriptions.Length)
     {
         availabilityHandler?.OnAvailable();
     }
 }