Skip to content

Commit 57258c3

Browse files
committed
Update README.md
1 parent b5bb91a commit 57258c3

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

Assets/Editor Toolbox/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,8 @@ public int var1;
555555

556556
You can draw properties marked with the **[SerializeReference]** attribute with an additional type picker that allows you to manipulate what managed type will be serialized.
557557

558+
To prevent issues after renaming types use `UnityEngine.Scripting.APIUpdating.MovedFromAttribute`.
559+
558560
```csharp
559561
[SerializeReference, ReferencePicker(TypeGrouping = TypeGrouping.ByFlatName)]
560562
public Interface1 var1;

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,8 @@ public int var1;
555555

556556
You can draw properties marked with the **[SerializeReference]** attribute with an additional type picker that allows you to manipulate what managed type will be serialized.
557557

558+
To prevent issues after renaming types use `UnityEngine.Scripting.APIUpdating.MovedFromAttribute`.
559+
558560
```csharp
559561
[SerializeReference, ReferencePicker(TypeGrouping = TypeGrouping.ByFlatName)]
560562
public Interface1 var1;

0 commit comments

Comments
 (0)