| | |
| | | outName = resName;
|
| | | }
|
| | |
|
| | | string _absOriginalePath = string.Format("{0}/ART/Role/{1}/{2}.FBX", Application.dataPath, path, resName);
|
| | | string _originalAssetPath = string.Format("Assets/ART/Role/{0}/{1}.FBX", path, resName);
|
| | | string _absOriginalePath = string.Format("{0}/ART/Role/{1}/{2}_Dm.FBX", Application.dataPath, path, resName);
|
| | | string _originalAssetPath = string.Format("Assets/ART/Role/{0}/{1}_Dm.FBX", path, resName);
|
| | |
|
| | | string _tempPrefabName = outName;
|
| | |
|
| | | if (isHighMesh)
|
| | | {
|
| | | _tempPrefabName += "_UI";
|
| | |
|
| | | _absOriginalePath = string.Format("{0}/ART/Role/{1}/{2}.FBX", Application.dataPath, path, resName);
|
| | | _originalAssetPath = string.Format("Assets/ART/Role/{0}/{1}.FBX", path, resName);
|
| | | }
|
| | |
|
| | | string _absAssetPath = string.Format("{0}Mob/{1}{2}.prefab", ResourcesPath.ResourcesOutPath, suffix, _tempPrefabName);
|
| | |
| | |
|
| | | string _acAbsAssetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutPath, path, AnimatorControllerLoader.controllerSuffix, path);
|
| | | string _acAssetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutAssetPath, path, AnimatorControllerLoader.controllerSuffix, path);
|
| | |
|
| | | if (!outName.Equals(resName))
|
| | | {
|
| | | _acAbsAssetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutPath, path, AnimatorControllerLoader.controllerSuffix, outName);
|
| | |
| | | _collider.radius = _colliderInfo.radius;
|
| | | _collider.height = _colliderInfo.height;
|
| | | }
|
| | |
|
| | | Transform _rendererNode = _prefab.transform.Find(resName);
|
| | | string _tempName = outName + "_Dm";
|
| | | if (isHighMesh)
|
| | | {
|
| | | _tempName = outName;
|
| | | }
|
| | | Transform _rendererNode = _prefab.transform.Find(_tempName);
|
| | | if (!_rendererNode)
|
| | | {
|
| | | _rendererNode = _prefab.transform;
|