public static void EnsureModSelectable(this KMSelectable selectable) { Component modSelectable = selectable.GetComponent(ModSelectableType); if (modSelectable == null) { selectable.gameObject.AddComponent(ModSelectableType); } selectable.EnsureModHighlightable(); }