Пример #1
0
 void ResetApi()
 {
     database         = null;
     networkBroadcast = null;
     history          = null;
     crypto           = null;
 }
Пример #2
0
 private IPromise HistoryApiInitialized(HistoryApi api)
 {
     return(new Promise((resolved, rejected) =>
     {
         OnHistoryApiInitialized.SafeInvoke(api);
         resolved();
     }));
 }
Пример #3
0
 IPromise HistoryApiInitialized(HistoryApi api)
 {
     return(new Promise((resolved, rejected) => {
         if (!OnHistoryApiInitialized.IsNull())
         {
             OnHistoryApiInitialized.Invoke(api);
         }
         resolved();
     }));
 }
Пример #4
0
 private void ResetApi()
 {
     database         = null;
     networkBroadcast = null;
     history          = null;
 }
Пример #5
0
 public void Init()
 {
     instance = new HistoryApi();
 }
Пример #6
0
 void Awake()
 {
     historyApi = HistoryApi.Instance;
 }