Skip to content

Commit c86efe4

Browse files
committed
fix: removing unnecessary serialize instruction
1 parent dee12cb commit c86efe4

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

Scripts/Runtime/Core/CollectionItemIndirectReference.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ public abstract class CollectionItemIndirectReference<TObject> : CollectionItemI
2222
[NonSerialized]
2323
private TObject cachedRef;
2424

25-
/// <summary>
26-
/// Alternative to [XmlIgnore] [JsonIgnore]
27-
/// </summary>
28-
/// <returns>false, because of a circular reference and the SO is not serializable</returns>
29-
public bool ShouldSerializeRef() => false;
30-
3125
public TObject Ref
3226
{
3327
get

0 commit comments

Comments
 (0)