| | |
| | | for (int i = 0; i < _modeNames.Length; ++i) |
| | | { |
| | | _modeNames[i] = _modeNames[i].Trim(); |
| | | |
| | | if (string.IsNullOrEmpty(_modeNames[i])) |
| | | { |
| | | continue; |
| | | } |
| | | |
| | | m_NpcResBuilder.BuildNpc(_modeNames[i], null, (int)m_NpcType, m_HighMesh); |
| | | var _kv = _modeNames[i].Split('\t'); |
| | | |
| | | m_NpcResBuilder.BuildNpc(_kv[0], _kv[1], int.Parse(_kv[2]), m_HighMesh); |
| | | } |
| | | } |
| | | } |
| | |
| | | |
| | | public static void BuildAnimatorController(int id, string templeName, string configName) |
| | | { |
| | | if (!IsBuildAnimatorController) |
| | | if (!IsBuildAnimatorController && !IsBuildAnimatorUIController) |
| | | { |
| | | return; |
| | | } |
| | |
| | | } |
| | | |
| | | BuildAnimatorController(_path, templeName, configName); |
| | | |
| | | if (ResourcesBuilder.IsBuildAnimatorUIController) |
| | | { |
| | | BuildAnimatorController(_path, "Temple_AnimatorController_UI", "animatorBuildConfig", null); |
| | | } |
| | | } |
| | | |
| | | protected override void OnSetupRenderer(string path, string resName, ref Renderer renderer) |
| | |
| | | Directory.CreateDirectory(_absAssetPath);
|
| | | }
|
| | |
|
| | | _absAssetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutPath, resName, AnimatorControllerLoader.controllerSuffix, outName);
|
| | | string _assetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutAssetPath, resName, AnimatorControllerLoader.controllerSuffix, outName);
|
| | | _absAssetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutPath, outName, AnimatorControllerLoader.controllerSuffix, outName);
|
| | | string _assetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutAssetPath, outName, AnimatorControllerLoader.controllerSuffix, outName);
|
| | |
|
| | | if (templeName.Equals("Temple_AnimatorController_BossShow"))
|
| | | {
|
| | |
| | |
|
| | | if(templeName.Equals("Temple_AnimatorController_UI"))
|
| | | {
|
| | | _absAssetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutPath, resName, AnimatorControllerLoader.controllerUISuffix, resName);
|
| | | _assetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutAssetPath, resName, AnimatorControllerLoader.controllerUISuffix, resName);
|
| | | _absAssetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutPath, outName, AnimatorControllerLoader.controllerUISuffix, outName);
|
| | | _assetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutAssetPath, outName, AnimatorControllerLoader.controllerUISuffix, outName);
|
| | | }
|
| | |
|
| | | string _templePath = string.Format("{0}Mob/{1}.controller", ResourcesPath.ResourcesOutPath, templeName);
|