コード例 #1
0
ファイル: CCScheduler.cs プロジェクト: krashman/cocos2d-xna
        private void UpdateTarget(ICCSelectorProtocol target, float dt)
        {
            if (OnUnhandledException == null)
            {
                target.Update(dt);
                return;
            }

            try
            {
                target.Update(dt);
            }
            catch (Exception exception)
            {
                OnUnhandledException(exception);
            }
        }
コード例 #2
0
ファイル: CCScheduler.cs プロジェクト: liwq-net/UIFactory
        private void UpdateTarget(ICCSelectorProtocol target, float dt)
        {
            if (OnUnhandledException == null)
            {
                target.Update(dt);
                return;
            }

            try
            {
                target.Update(dt);
            }
            catch (Exception exception)
            {
                OnUnhandledException(exception);
            }
        }