Improve FBX/prefab import setup, CharacterSpawner, and add M3 inspect/rebuild helpers. Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
373 B
C#
16 lines
373 B
C#
using UnityEditor;
|
|
using UnityEngine;
|
|
|
|
public static class RebuildMaleExplorerNow
|
|
{
|
|
public static string Execute()
|
|
{
|
|
foreach (var go in Object.FindObjectsOfType<GameObject>())
|
|
{
|
|
if (go != null && go.name.Contains("MaleExplorer"))
|
|
Object.DestroyImmediate(go);
|
|
}
|
|
return SetupM3Character.SetupAll();
|
|
}
|
|
}
|