@@ -6,21 +6,21 @@ namespace BrunoMikoski.ScriptableObjectCollections
66{
77 public static class ScriptableObjectCollectionUtils
88 {
9- public static T CreateScriptableObjectOfType < T > ( DefaultAsset parentFolder , bool createFoldForThisCollection ,
9+ public static T CreateScriptableObjectOfType < T > ( DefaultAsset parentFolder , bool createFolderForThisCollection ,
1010 string targetName ) where T : ScriptableObject
1111 {
1212 return CreateScriptableObjectOfType < T > ( AssetDatabase . GetAssetPath ( parentFolder ) ,
13- createFoldForThisCollection , targetName ) ;
13+ createFolderForThisCollection , targetName ) ;
1414 }
1515
16- public static T CreateScriptableObjectOfType < T > ( string parentFolderPath , bool createFoldForThisCollection ,
16+ public static T CreateScriptableObjectOfType < T > ( string parentFolderPath , bool createFolderForThisCollection ,
1717 string targetName ) where T : ScriptableObject
1818 {
1919 T targetCollection = ScriptableObject . CreateInstance < T > ( ) ;
2020 targetCollection . name = targetName ;
2121
2222 string targetFolderPath = parentFolderPath ;
23- if ( createFoldForThisCollection )
23+ if ( createFolderForThisCollection )
2424 targetFolderPath = Path . Combine ( targetFolderPath , $ "{ targetName } ") ;
2525
2626 AssetDatabaseUtils . CreatePathIfDontExist ( Path . Combine ( targetFolderPath , "Items" ) ) ;
0 commit comments