upd
This commit is contained in:
@@ -11,7 +11,7 @@ public static class UpdateCloths
|
||||
[Menu( "Editor", "MyClothing/Generate .clitem Files" )]
|
||||
public static async void GenerateClitemFiles()
|
||||
{
|
||||
var packageResult = await Package.FindAsync( "type:clothing", 100 );
|
||||
var packageResult = await Package.FindAsync( "type:clothing", 500 );
|
||||
|
||||
Directory.CreateDirectory( outputFolder );
|
||||
|
||||
@@ -30,7 +30,7 @@ public static class UpdateCloths
|
||||
ClothUrl = clothUrl,
|
||||
Slot = "Body",
|
||||
Name = package.Title,
|
||||
Description = package.Description == "" ? package.Ident : package.Description,
|
||||
Description = package.Ident.Replace( "_", "" ).Replace( " ", "" ),
|
||||
Prefab = new { _type = "gameobject", prefab = "prefabs/item_parcel.prefab" },
|
||||
ImageTexture = (string)null,
|
||||
ImageUrl = imageUrl,
|
||||
|
||||
Reference in New Issue
Block a user