Exemplo n.º 1
0
        private IEnumerator waitASecondThenReturnCurrentUser()
        {
            yield return(new WaitForSeconds(1f));

            //...then pass back some fake data
            UserVO user = getUserData("Kirk", "54321",
                                      "http://upload.wikimedia.org/wikipedia/commons/a/a5/Star_Trek_William_Shatner.JPG",
                                      100);

            FULFILL_CURRENT_USER_REQUEST.Dispatch(user);
        }
Exemplo n.º 2
0
        private IEnumerator waitASecondThenReturnCurrentUser()
        {
            yield return(new WaitForSeconds(1f));

            //...then pass back some fake data
            UserVO user = getUserData("Zaphod", "12345",
                                      "http://upload.wikimedia.org/wikipedia/en/7/72/Mark_Wing-Davey_as_Zaphod_Beeblebrox.jpg",
                                      100);

            FULFILL_CURRENT_USER_REQUEST.Dispatch(user);
        }