Files
AIGame/AIClient/Assets/Editor/M3/RebuildMaleExplorerNow.cs
T
udxandCursor 10d9b98637 Fix MaleExplorer setup with shadow material and editor diagnostics.
Improve FBX/prefab import setup, CharacterSpawner, and add M3 inspect/rebuild helpers.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-21 17:23:40 +08:00

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();
}
}