| | |
| | | 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);
|
| | |
|
| | | if (!suffix.Equals(InstanceResourcesLoader.raceSuffix))
|
| | | {
|
| | | _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 _tempPrefabName = outName;
|
| | |
|
| | | if (isHighMesh)
|
| | | if (isHighMesh && suffix.Equals(InstanceResourcesLoader.raceSuffix))
|
| | | {
|
| | | _tempPrefabName += "_UI";
|
| | |
|
| | |
| | | _collider.radius = _colliderInfo.radius;
|
| | | _collider.height = _colliderInfo.height;
|
| | | }
|
| | | string _tempName = outName + "_Dm";
|
| | | if (isHighMesh)
|
| | |
|
| | | string _tempName = resName;
|
| | |
|
| | | if (suffix.Equals(InstanceResourcesLoader.raceSuffix) && !isHighMesh)
|
| | | {
|
| | | _tempName = outName;
|
| | | _tempName += "_Dm";
|
| | | }
|
| | |
|
| | | Transform _rendererNode = _prefab.transform.Find(_tempName);
|
| | | if (!_rendererNode)
|
| | | {
|