void ResetApi() { database = null; networkBroadcast = null; history = null; crypto = null; }
private IPromise HistoryApiInitialized(HistoryApi api) { return(new Promise((resolved, rejected) => { OnHistoryApiInitialized.SafeInvoke(api); resolved(); })); }
IPromise HistoryApiInitialized(HistoryApi api) { return(new Promise((resolved, rejected) => { if (!OnHistoryApiInitialized.IsNull()) { OnHistoryApiInitialized.Invoke(api); } resolved(); })); }
private void ResetApi() { database = null; networkBroadcast = null; history = null; }
public void Init() { instance = new HistoryApi(); }
void Awake() { historyApi = HistoryApi.Instance; }