File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Assets/FbxExporters/Editor Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -107,8 +107,9 @@ public static GameObject[] CreateInstantiatedModelPrefab (GameObject [] unityGam
107
107
/// <returns>The instance that replaces 'toConvert' in the scene.</returns>
108
108
/// <param name="toConvert">GameObject hierarchy to replace with a prefab.</param>
109
109
/// <param name="fbxFullPath">Absolute platform-specific path to
110
- /// the fbx file. May be null, in which case we construct a path from
111
- /// the object name and the directoryFullPath.</param>
110
+ /// the fbx file. May be null, in which case we construct a unique
111
+ /// filename from the object name and the
112
+ /// directoryFullPath.</param>
112
113
/// <param name="directoryFullPath">Absolute platform-specific path
113
114
/// to a directory in which to put the fbx file. Ignored if
114
115
/// fbxFullPath is specified. May be null, in which case we use the
@@ -120,8 +121,8 @@ public static GameObject Convert (
120
121
string fbxFullPath = null ,
121
122
bool keepOriginal = true )
122
123
{
123
- // Generate a unique filename.
124
124
if ( string . IsNullOrEmpty ( fbxFullPath ) ) {
125
+ // Generate a unique filename.
125
126
if ( string . IsNullOrEmpty ( directoryFullPath ) ) {
126
127
directoryFullPath = FbxExporters . EditorTools . ExportSettings . GetAbsoluteSavePath ( ) ;
127
128
} else {
You can’t perform that action at this time.
0 commit comments