新增模块hightlight

This commit is contained in:
2024-12-24 13:15:04 +08:00
parent 9b965d2cb6
commit c03a525610
9 changed files with 935 additions and 13 deletions
@@ -89,5 +89,11 @@ namespace AibisDream
var targetModule = BodyModuleSystem.FindBodyModuleByName(moduleName);
targetModule.SetSocketAvailable(isAvailable);
}
[YarnCommand("ModuleHightLight")]
public static void ModuleHightLight(string moduleName,bool enable)
{
var targetModule = BodyModuleSystem.FindBodyModuleByName(moduleName);
targetModule.Highlight(enable);
}
}
}