IEnumerator ok() { MessageCS.Show("امیر رضا دلیر / زندگی دیجیتال"); yield return(new WaitForSeconds(5f)); MessageCS.Show("name"); }
IEnumerator ApplicationQuit() { if (callQuit) { MessageCS.AndroidToastCancel(); Application.Quit(); } else { callQuit = true; MessageCS.Show("tap again for exit!"); } yield return(new WaitForSeconds(quitAfterSeconds)); callQuit = false; }