コード例 #1
0
    void OnUnload()
    {
        if (ab != null)
        {
            ab.Unload(false);
            ab = null;
        }
        error   = null;
        bytes   = null;
        url     = null;
        text    = null;
        texture = null;

        unloaded = true;
        timer.Stop();
        timer = null;
    }
コード例 #2
0
 public void AddRefrence()
 {
     if (forver)
     {
         return;
     }
     refrence++;
     deleteTimer.Stop();
 }
コード例 #3
0
ファイル: SceneLoader.cs プロジェクト: Hengle/GameFramework-1
    void UpdateLoadingUI()
    {
        #region 赋值UI进度条

        progress = (int)(operation.progress * 100);

        #endregion

        if (operation.isDone)
        {
            timer.Stop();
            timer = null;

            if (callback != null)
            {
                callback();
            }
        }
    }
コード例 #4
0
ファイル: GameBoyCpu.cs プロジェクト: djlw78/Emux
 public void Step()
 {
     _frameTimer.Stop();
     _break = true;
     _continueSignal.Set();
 }