测试代码

This commit is contained in:
2025-11-02 22:33:14 +08:00
parent 45531a5002
commit d12e1bc495
136 changed files with 5984 additions and 5488 deletions

View File

@@ -132,9 +132,15 @@ namespace NBF
foreach (var item in _itemInfos)
{
GenModel.visible = true;
GenModel.SetData(item.Config);
// GenModel.SetData(item.Config);
GenModel.SetData(new ItemInfo()
{
Id = item.Config.Id,
ConfigId = item.Config.Id,
Count = 1,
});
yield return new WaitForSeconds(1f);
GenModel.SaveRenderTextureToPNG();
GenModel.SaveRenderTextureToPNG(item.Config.Id);
yield return new WaitForSeconds(1f);
}