Fixed Unity 6000.5 serialization warnings

Removed obsolete entities window from toolbar sample
This commit is contained in:
Anders Ejlersen 2026-06-16 19:21:51 +02:00
parent 127702c4f7
commit 7a675c6c85
12 changed files with 65 additions and 10 deletions

View file

@ -13,6 +13,9 @@ namespace Module.NavigationTool.Editor.Favorite
{
public static readonly string PREF_ID = "PREF_FAVORITE_LIST";
#if UNITY_6000_5_OR_NEWER
[SerializeReference]
#endif
public List<Entry> entries;
public Favorites()
@ -236,6 +239,9 @@ namespace Module.NavigationTool.Editor.Favorite
public bool isAsset;
public bool expanded;
public int indentLevel;
#if UNITY_6000_5_OR_NEWER
[SerializeReference]
#endif
public List<Child> children;
[NonSerialized]