| | |
| | | case E_ModelResType.Secondary: |
| | | BuildSecondary(id, isHighMesh); |
| | | break; |
| | | case E_ModelResType.Hand: |
| | | BuildHand(id, isHighMesh); |
| | | break; |
| | | } |
| | | } |
| | | |
| | |
| | | BuildPrefab(id, InstanceResourcesLoader.secondarySuffix, isHighMesh); |
| | | } |
| | | |
| | | public void BuildHand(int id, bool isHighMesh) |
| | | { |
| | | BuildPrefab(id, InstanceResourcesLoader.handSuffix, isHighMesh); |
| | | } |
| | | |
| | | public void BuildHorse(int id, bool isHighMesh) |
| | | { |
| | | BuildAnimationClip(id); |
| | |
| | | .Replace("Prefab_Race", "")
|
| | | .Replace("Prefab_Horse", "")
|
| | | .Replace("_UI", "")
|
| | | .Replace(".prefab", "");
|
| | | .Replace(".prefab", "")
|
| | | .Replace("Prefab_Hand", "");
|
| | |
|
| | | importer.assetBundleName = StringUtility.Contact("mob/prefab_race", hostfix);
|
| | | EditorUtility.SetDirty(importer);
|