PckStudio - Fix typo in csproj file

This commit is contained in:
miku-666
2025-11-25 05:07:03 +01:00
parent 71518bed8c
commit 42594e7029
22 changed files with 5 additions and 5 deletions

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OMI.Formats.Model;
using PckStudio.Core.Skin;
using PckStudio.ModelSupport;
namespace PckStuido.ModelSupport.Extension
{
public static class SkinExtension
{
public static SkinModelInfo GetModelInfo(this Skin skin) => new SkinModelInfo(skin.Texture, skin.Anim, skin.Model);
public static void SetModelInfo(this Skin skin, SkinModelInfo modelInfo)
{
skin.Texture = modelInfo.Texture;
skin.Anim = modelInfo.Anim;
skin.Model = modelInfo.Model;
}
}
}