private IPromise NetworkBroadcastApiInitialized(NetworkBroadcastApi api)
 {
     return(new Promise((resolved, rejected) =>
     {
         OnNetworkBroadcastApiInitialized.SafeInvoke(api);
         resolved();
     }));
 }
Example #2
0
 IPromise NetworkBroadcastApiInitialized(NetworkBroadcastApi api)
 {
     return(new Promise((resolved, rejected) => {
         if (!OnNetworkBroadcastApiInitialized.IsNull())
         {
             OnNetworkBroadcastApiInitialized.Invoke(api);
         }
         resolved();
     }));
 }