Skip to content

Commit

Permalink
fix: PrefsIPEndPoints do not appear in inspector
Browse files Browse the repository at this point in the history
  • Loading branch information
fuqunaga committed Dec 25, 2023
1 parent 013d583 commit a748377
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Packages/PrefsGUI/Runtime/PrefsParam/PrefsSet.cs
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using UnityEngine.Assertions;

namespace PrefsGUI
{
/// <summary>
/// Combination of PrefsParams
/// </summary>
[SuppressMessage("ReSharper", "FieldCanBeMadeReadOnly.Global")]
public abstract class PrefsSet<TPrefs0, TPrefs1, TOuter0, TOuter1>
where TPrefs0 : PrefsParamOuter<TOuter0>
where TPrefs1 : PrefsParamOuter<TOuter1>
{
public readonly string key;
public readonly string[] paramNames;
public readonly TPrefs0 prefs0;
public readonly TPrefs1 prefs1;
public TPrefs0 prefs0;
public TPrefs1 prefs1;

protected virtual string GenerateParamKey(string keyString, string paramName) => $"{keyString}_{paramName}";

Expand Down

0 comments on commit a748377

Please sign in to comment.