using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace PhxhSDK.Phxh.Others
{
public class CmpSkinCombine : MonoBehaviour
{
[ContextMenu("强制合并")]
public void ForceCombine()
{
AutoCombineMesh(gameObject, new string[] { "_MainTex", "_MaskTex" });
}
///
/// 自动合并网格,贴图及骨骼
///
///
///
///
public static void AutoCombineMesh(GameObject obj,
string[] textureNames,
int combineTexSize = 2048)
{
// AutoCombine.CombineSkinMesh(obj, textureNames, combineTexSize);
}
}
}