using HighlightPlus; using Unity.VisualScripting; using UnityEngine; namespace ZC { public static class HighLightHelper { public static void OpenHighlight(this GameObject self) { HighlightEffect effect; effect = self.GetOrAddComponent(); effect.highlighted = true; } public static void CloseHighlight(this GameObject self) { HighlightEffect effect; effect = self.GetComponent(); effect.highlighted = false; } } }