private void InitialLoadComplete()
    {
        // Re-initialize LocalizationManager now that we have loaded localization in phase above
        _localizationManager.Initialize();

        _coroutineCreator.StartCoroutine(ProceedToLoginState());
    }
    // (Debug Only) Build Info

    private void Quaternary()
    {
                #if !PRODUCTION
//		if ( _client.GetBuildInfoEnabled() ) _buildInfo.Initialize();
                #endif

        _coroutineCreator.StartCoroutine(BootupCompleted());
    }
Exemple #3
0
    private void FetchProfileCallback(IGraphResult result)
    {
        _profile = new UserProfile();

        _profile.SetUserID(UserId);
        _profile.SetUserName(String.Format("{0}", result.ResultDictionary["name"]));

        if (result.ResultDictionary.ContainsKey("picture"))
        {
            IDictionary picture = result.ResultDictionary["picture"] as IDictionary;
            IDictionary data    = picture["data"] as IDictionary;
            _coroutineCreator.StartCoroutine(FetchFBProfilePicture((string)data["url"]));
        }

        _networkSystem.SendNickName(_profile.userName);
    }
 /// <summary>
 /// Starts the count down timer
 /// </summary>
 /// <param name="endTime">When the timer should finish</param>
 /// <param name="updateCallback">Called once a second, providing the remaining time to the callback</param>
 /// <param name="finishedCallback">Called when the timer finishes</param>
 public void StartTimer(Action <long> updateCallback, Action finishedCallback)
 {
     StopTimer();
     _countDownCoroutine = CountDown(updateCallback, finishedCallback);
     _coroutineCreator.StartCoroutine(_countDownCoroutine);
 }
 public void LoadFromURL(string fileURL, string iniSection, IniLoadedCallback loadedCallback)
 {
     _coroutineCreator.StartCoroutine(AsyncLoadFromURL(fileURL, iniSection, loadedCallback));
 }
Exemple #6
0
 /// <summary>
 /// Starts the count down timer
 /// </summary>
 /// <param name="endTime">When the timer should finish</param>
 /// <param name="updateCallback">Called once a second, providing the remaining time to the callback</param>
 /// <param name="finishedCallback">Called when the timer finishes</param>
 private void StartTimer(long endTime, Action <long> updateCallback, Action finishedCallback)
 {
     StopTimer();
     _countDownCoroutine = CountDown(endTime, updateCallback, finishedCallback);
     _coroutineCreator.StartCoroutine(_countDownCoroutine);
 }