mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-22 20:13:02 +00:00
rename
This commit is contained in:
parent
b2e6ed7467
commit
20758ae011
1 changed files with 3 additions and 3 deletions
|
@ -297,12 +297,12 @@ namespace SanAndreasUnity.Editor
|
||||||
|
|
||||||
for (int i = 0; i < objectsToExport.Length; i++)
|
for (int i = 0; i < objectsToExport.Length; i++)
|
||||||
{
|
{
|
||||||
Transform child = objectsToExport[i];
|
Transform currentObject = objectsToExport[i];
|
||||||
|
|
||||||
if (EditorUtility.DisplayCancelableProgressBar("", $"Creating assets ({i + 1}/{objectsToExport.Length})... {child.name}", i / (float)objectsToExport.Length))
|
if (EditorUtility.DisplayCancelableProgressBar("", $"Creating assets ({i + 1}/{objectsToExport.Length})... {currentObject.name}", i / (float)objectsToExport.Length))
|
||||||
yield break;
|
yield break;
|
||||||
|
|
||||||
this.ExportAssets(child.gameObject);
|
this.ExportAssets(currentObject.gameObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_exportPrefabs)
|
if (m_exportPrefabs)
|
||||||
|
|
Loading…
Reference in a new issue