IEnumerator CheckForMatchs() { while (true) { yield return(new WaitForSeconds(waitForCheckDatabase)); FindCheers.CheckForMatchs(userID); } }
void OnEnable() { SelectUsers(); FindCheers.CheckForMatchs(AppManeger.instance.userID); // Run the dateBase to find mutualMatchs }