1
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user