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