From e925aced4b439a2583a86d2924d070373b4a89d3 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期四, 23 八月 2018 15:52:18 +0800
Subject: [PATCH] 2824 1.0.15【前端】系统设置的标签页新增最大帧数选项
---
Core/ResModule/AnimatorControllerLoader.cs | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/Core/ResModule/AnimatorControllerLoader.cs b/Core/ResModule/AnimatorControllerLoader.cs
index 63e84b8..8151413 100644
--- a/Core/ResModule/AnimatorControllerLoader.cs
+++ b/Core/ResModule/AnimatorControllerLoader.cs
@@ -11,6 +11,7 @@
public static readonly string controllerSuffix = "AnimatorController_";
public static readonly string controllerUISuffix = "AnimatorController_UI_";
public static readonly string controllerShowSuffix = "AnimatorController_Show_";
+ public static readonly string controllerRealmSuffix = "AnimatorController_Realm_";
public static AnimationClip LoadAnimationClip(string name, string clipName)
{
@@ -44,7 +45,7 @@
if (_animationClip == null)
{
- DesignDebug.LogErrorFormat("LoadAnimationClip.Load() => 鍔犺浇涓嶅埌璧勬簮: {0} => {1}.", name, clipName);
+ DebugEx.LogErrorFormat("LoadAnimationClip.Load() => 鍔犺浇涓嶅埌璧勬簮: {0} => {1}.", name, clipName);
}
return _animationClip;
@@ -53,7 +54,7 @@
public static RuntimeAnimatorController Load(string suffix, int id)
{
RuntimeAnimatorController _controller = null;
- ModelResConfig _modelRes = ConfigManager.Instance.GetTemplate<ModelResConfig>(id);
+ ModelResConfig _modelRes = Config.Instance.Get<ModelResConfig>(id);
string _name = _modelRes.ResourcesName;
if (_name.IndexOf('/') != -1)
{
@@ -90,7 +91,7 @@
if (_controller == null)
{
- DesignDebug.LogErrorFormat("AnimatorControllerLoader.Load() => 鍔犺浇涓嶅埌璧勬簮: {0}_{1}.", suffix, _name);
+ DebugEx.LogErrorFormat("AnimatorControllerLoader.Load() => 鍔犺浇涓嶅埌璧勬簮: {0}_{1}.", suffix, _name);
}
return _controller;
@@ -127,7 +128,7 @@
if (_controller == null)
{
- DesignDebug.LogErrorFormat("AnimatorControllerLoader.Load() => 鍔犺浇涓嶅埌璧勬簮: {0}.", _name);
+ DebugEx.LogErrorFormat("AnimatorControllerLoader.Load() => 鍔犺浇涓嶅埌璧勬簮: {0}.", _name);
}
return _controller;
--
Gitblit v1.8.0