Пример #1
0
        /// <summary>
        /// Loads the anims on a background thread.
        /// </summary>
        private static void AsyncLoadAnims()
        {
#if DEBUG
            PUtil.LogDebug("Loading anims on thread " + Thread.CurrentThread.ManagedThreadId);
#endif
            try {
                KAnimGroupFile.LoadAll();
                KAnimBatchManager.Instance().CompleteInit();
            } catch (Exception e) {
                DebugUtil.LogException(Assets.instance, e.Message, e);
            }
            animsDone.Set();
            LoadGameHashes();
        }