This commit is contained in:
CortexCore
2023-10-20 19:31:12 +08:00
parent 5cd094ed9a
commit a160813262
1878 changed files with 630581 additions and 4485 deletions

View File

@@ -0,0 +1,24 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MeshCombineStudio
{
public class CombineRuntime : MonoBehaviour
{
public MeshCombiner meshCombiner;
public bool useSearchConditions = true;
public GameObject[] gos;
void Start()
{
Combine();
}
void Combine()
{
meshCombiner.searchOptions.parentGOs = gos;
meshCombiner.CombineAll(useSearchConditions);
}
}
}