diff --git a/MiraAPI/GameOptions/AbstractOptionGroup.cs b/MiraAPI/GameOptions/AbstractOptionGroup.cs index db2b93c..cab7761 100644 --- a/MiraAPI/GameOptions/AbstractOptionGroup.cs +++ b/MiraAPI/GameOptions/AbstractOptionGroup.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Collections.ObjectModel; using UnityEngine; namespace MiraAPI.GameOptions; @@ -11,6 +12,11 @@ public abstract class AbstractOptionGroup { internal List Options { get; } = []; + /// + /// Gets a list of the options which are a part of this group. + /// + public ReadOnlyCollection Children => new(Options); + /// /// Gets the name of the group. Visible in options menu. ///